Next Article in Journal
Eight-Element Antenna Array with Improved Radiation Performances for 5G Hand-Portable Devices
Next Article in Special Issue
Empirical Analysis of Data Streaming and Batch Learning Models for Network Intrusion Detection
Previous Article in Journal
Classification of Roads and Types of Public Roads Using EOG Smart Glasses and an Algorithm Based on Machine Learning While Driving a Car
Previous Article in Special Issue
Learning Balance Feature for Object Detection
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Voronoi Diagram-Based Grouping Test Localization Scheme in Wireless Sensor Networks

1
Department of Mechanical, Electrical and Information Engineering, Shandong University, Weihai 264209, China
2
Department of Electrical Engineering, City University of Hong Kong, Hong Kong, China
3
School of Science and Technology, Hong Kong Metropolitan University, Hong Kong, China
*
Author to whom correspondence should be addressed.
Electronics 2022, 11(18), 2961; https://doi.org/10.3390/electronics11182961
Submission received: 2 August 2022 / Revised: 2 September 2022 / Accepted: 16 September 2022 / Published: 18 September 2022
(This article belongs to the Special Issue Feature Papers in "Networks" Section)

Abstract

:
The wireless sensor network (WSN) provides us with a cost-effective way to remotely monitor a large number of objects, locations, and environmental parameters. Taking advantage of WSNs to applications can add new capabilities to existing products and bring out new services. We propose a novel range-free localization scheme, the Voronoi diagram-based grouping test localization (VTL) scheme, to estimate the location efficiently for WSNs. VTL divides the anchor nodes into multiple groups and uses the corresponding closest Voronoi cells to compute the estimated location. Apart from improving the accuracy of location estimation, it also largely simplifies the implementation. Simulation results show that the VTL scheme has better performance compared with other range-free localization schemes. When reaching a certain anchor node density, the VTL scheme will have higher localization accuracy and a larger percentage of localizable nodes. Hence, VTL is likely more appropriate for upcoming WSN scenarios with large ratios of anchor nodes being available.

1. Introduction

Wireless sensor networks (WSNs) provide us with a cost-effective way to remotely monitor a large number of objects, locations, and environmental parameters [1,2,3,4,5]. New technologies and applications for WSNs have been continually proposed, since monitoring capability is becoming more important than ever. For example, pervasive games [6] and sport training [7] are recent examples of applying WSN technologies to provide new services in our daily life. Surely, further taking advantage of WSNs for applications can add new capabilities to existing products and bring out new services. The challenge is to have sufficiently low setup, operation, and maintenance costs.
In WSN applications, especially in outdoor environments, how the wireless sensor node determines its location is an important issue. It will be meaningless if the measurement data do not include the node’s location information. For cost-effective consideration, it is likely that not all wireless sensor nodes have the capability to determine their locations only by themselves. In the early days, only a small number of wireless sensor nodes could specifically have the complete capability to determine their locations, i.e., they were anchor nodes with GPS receivers. Other wireless sensor nodes then computed their estimated locations with the assistance of signals/beacon messages broadcasted from anchor nodes. Depending on the balance among cost, precision, and complexity, different kinds of localization schemes have been proposed [8,9,10,11,12,13,14,15,16,17,18,19,20]. As hardware cost is rapidly falling, it is expected that a larger ratio of wireless sensor nodes can have complete localization capacity. Nevertheless, the localization problem for common wireless sensor nodes is still important. However, the approaches to solving this problem may be more direct and simpler.
Localization schemes can be categorized as range-based and range-free schemes. In range-based schemes, the computation of a node’s location largely relies on the measured distances to anchor nodes. Common distance measurement methods include time of arrival (TOA), time difference of arrival (TDOA), angle of arrival (AOA), and receiver signal strength index (RSSI) [8]. Range-based schemes are not frequently employed due to the equipment cost and sensitivity to environmental factors. In range-free schemes, a wireless sensor node is not required to measure the distances between it and anchor nodes. Instead, indirect methods are used for estimating the node’s location. Intuitive methods include using the centroid of all locations of direct detected anchor nodes as the estimated location [9]. As performance fluctuates easily with many factors such as anchor node distribution, different kinds of approaches are proposed. For example, one may have the estimated distances to anchor nodes if the information of average hop number to anchor nodes is available [10,11]. This increases the communication overhead and narrows the choice of routing schemes for WSNs, but a smaller number of anchor nodes is generally required. Another shortcoming of such approaches is that the distribution of all wireless sensor nodes, not only anchor nodes, will interfere with the accuracy of location estimation. Surely if extra communications between common wireless sensor nodes and anchor nodes are feasible, the performance of location estimation can be largely improved [12]. Without the assumption of extra communications, there are approaches that use areas of shapes computed from locations of anchor nodes and strengths of received signals to estimate locations [13,14,15]. Such approaches require rather primitive information from anchor nodes, but a large number of anchor nodes is commonly assumed. From this aspect, they are likely more appropriate for coming WSN scenarios, with large ratios of anchor nodes being available. To have better localization accuracy, however, some of them often need to generate large numbers of areas and others assume good capability of signal receiving. This may limit the practical applications of such approaches in another aspect. In this paper, we therefore propose a Voronoi diagram-based grouping test location (VTL) scheme to simplify the implementation and also improve the performance of location estimation.
A Voronoi diagram provides us with a handy way to partition a plane. It has been widely applied in site selection, formation control, planning, face recognition, and network optimization [21,22]. Efficient algorithms are freely available for generating Voronoi diagrams. This largely simplifies the use of Voronoi diagrams in different algorithms. Furthermore, Voronoi diagrams have also been used in other localization schemes to improve the schemes’ performances [16,17,18,19,20]. In [16], Voronoi diagrams were used to limit the flooding messages required for the DV localization schemes. In [17], a half symmetric lens-based localization algorithm (HSL) was proposed using a Voronoi diagram to further refine the results. In [18], the indoor localization problem was solved with the radio map (fingerprinting) approach, and Voronoi-based interpolation improved the localization performance. In [19], the indoor locations of robots were estimated by matching the local laser scan-generated Voronoi diagram (LVD) with the global Voronoi diagram. In [20], the authors proposed a fingerprinting-based localization approach in conjunction with a Voronoi diagram to estimate the location in indoor parking lots. From the above review, one can observe that the Voronoi diagram is not the core technique for location estimation. In this paper, however, we only use the basic Voronoi cell feature and minimal radio signal detection for a VTL localization scheme. In Section 2, some foundations of VTL are briefly discussed, including the Voronoi diagram, the logarithmic attenuation model for radio signals, and the basic idea of VTL. Section 3 then goes through the VTL scheme in detail. The novelty of VTL is the proposed approach of generating multiple Voronoi diagrams with the same set of anchor nodes. Overlapping the closest Voronoi cells from the multiple Voronoi diagram provides us with more accurate location estimation. Section 4 presents simulation experiments and analysis. In Section 5, the possible application scenarios for VTL and implementation issues are discussed.

2. The Foundations of the VTL Scheme

2.1. Voronoi Diagram

In mathematics, a Voronoi diagram is a distance-based strategy for partitioning a plane. Set P is assumed to be a set of n discrete points p i in the plane domain, and the plane domain V is partitioned into n sub-regions (called Voronoi cells), given as (1).
V P = V p 1 , V p 2 , , V p n
V p i denotes the Voronoi cell of p i , which is a set of the closest points to p i in the plane. We then have V p i as (2).
V p i = d g , p i d g , p j , j i , i = 1 , 2 , , n ,  
where d g , p i is the distance between nodes g and pi. In this section, we use the dual relationship between Voronoi and Delaunay triangulation to illustrate the generation of the Voronoi diagram. By drawing circumcircles on the triangles using nodes as vertexes, one can have Delaunay triangulation of the n nodes if all circumcircles have no other node inside, apart from their triangle vertexes. The Voronoi diagram of the n nodes is then obtained by connecting all centers of the circumcircles. Figure 1a shows the example of having Delaunay triangulation of six nodes from p1 to p6. There are five circumcircles, each having only three of the nodes as vertexes of a triangle. Connecting the five centers and the extension lines to the edges of the square plane, we obtain the corresponding Voronoi diagram, as shown in Figure 1b, i.e., a node g in the Voronoi cell of p1 will have the shortest distance to p1 than to any other pi, i ≠ 1. Note that currently available algorithms only require the time complexity of O(nlogn) to generate a Voronoi diagram. Using the Delaunay triangulation approach, however, we may need the time complexity of O(n2) in some exceptional cases.
As we discussed in the Introduction, an unknown node (i.e., a wireless sensor node with unknown location) such as g in Figure 1b is not able to determine its location by itself only, but its localization is possible with the help from anchor nodes (such as p1 to p6) the locations of which are known. In general, g can realize the location distribution of p1 to p6 by detecting the beacon messages broadcasted from them. Nevertheless, having the map of all anchor nodes does not imply that g can easily determine its location. Note that g does not know the exact distance to any anchor node. As shown in the next section, although g may know the strengths of radio signals received from p1 to p6, g is unable to absolutely determine which one in any pair of anchor nodes is closer to it. Using the centroid of the locations of p1 to p6 as the estimated location of g is a simple solution, but its accuracy will vary largely with the distribution of p1 to p6. Figure 1b shows us another simple solution using the Voronoi diagram. Note that we can have the Voronoi cells of p1 to p6 using their location information only. As shown in the next section, the received signal will have less variance if the anchor node is closer to the unknown node. Such a property implies that g in Figure 1b can correctly select p3 with a large probability as its closest anchor node by checking the received radio signal strength. Hence, g can also easily determine the closest Voronoi cell, i.e., the Voronoi cell corresponding to the closest anchor node. As shown in Figure 1b, g must be inside the closest Voronoi cell. We can therefore estimate the location of g from the location and shape of the closest Voronoi cell. Unless the measurement error of distance between nodes is sufficiently large to cause g to choose the wrong closest anchor node, it will have no impact on the location estimation. Based on such an observation, a more accurate result can be obtained if the proper scheme has been designed for the location estimation. A more detailed discussion will be given in Section 2.3.

2.2. Logarithmic Attenuation Model

Some localization algorithms may not be workable in environments with irregular topologies and barriers. This is because they assume a perfect circular radio model (i.e., regular radio signal propagation model) and do not take into account propagation loss in complicated environments. Hence, VTL assumes signal propagation using the logarithmic attenuation model as shown in (3).
P r d = P t P L ( d 0 ) 10 η lg ( d d 0 ) + X σ ,
where P t is the radio signal strength at the transmitting anchor node [17]. The unit of P t , P r d , and P L d 0 is in dBm. P r d is the radio signal strength at the receiving nodes, where d is the distance between receiving nodes and the transmitting anchor node. The reference distance (typically 1 m) is d 0 , and the radio signal strength of d 0 is denoted as P L d 0 . η is the coefficient of path loss in relation to the surroundings and structures. X σ is a normal distribution random noise, which has an expected mean value of 0 and a standard deviation of σ determined by the environment. Specific parameter values used in this paper are given in caption of Figure 2 and also Table 1.
As shown in Figure 2a, we illustrate the change in radio signal intensity with distance for the regular and logarithmic attenuation models. By comparing the strength curves of the two models, we observe that the closer the point is to the transmitting node, the smaller the impact of the attenuation component and noise will be. This is because the same value has less influence on the higher received radio signal strength (Rss).
As seen in Figure 2b, we further used the logarithmic attenuation model to calculate the mean and standard deviation of the distances between nodes with the same radio signal strength at the receiving nodes. Consequently, Figure 2b confirms the conclusion that the distribution of nodes with weak signal strength will have a larger fluctuation. This also implies that an unknown node can have a larger probability to select its closest anchor node by checking the received radio signal strength. Using the associated Voronoi cell of the closest anchor node will have advantages in improving the accuracy of location estimation. This observation provides us with a hint to design a VTL scheme.

2.3. The Main Ideas of VTL

From Section 2.1, we realize that it is possible to find the closest Voronoi cell from a set of anchor nodes to allocate the unknown node. However, the estimated location from the area of only a single Voronoi cell may not be sufficiently close to the real location. To improve the accuracy, VTL computes the estimated location using the area from the overlapping of multiple Voronoi cells, each being generated from a subset of anchor nodes. We use Figure 3 as an example. Instead of using all 12 anchor nodes to find a single Voronoi cell to compute the estimated location, we divide the anchor nodes into two groups (triangles and dots) and solve the two corresponding closest Voronoi cells. The overlapping area of the two Voronoi cells is marked as the “estimated region” in Figure 3. Clearly, using the “estimated region” to compute the estimated location is more accurate than using any single Voronoi cell from the two groups of anchor nodes. Simulation verification (please refer to Section 4) shows that dividing anchor nodes into multiple groups to compute the estimated location can have a more accurate result than that based on the whole set of anchor nodes.

3. The VTL Localization Scheme

In this section, we further explain the VTL scheme in detail. Figure 4 shows the detailed flow diagram of the VTL scheme.

3.1. Beacon Messages Exchange

We first assume that each anchor node has the location information of all other anchor nodes. If an unknown node receives a beacon message from any anchor node, it will have a map of all anchor nodes. We further assume that anchor nodes broadcast the beacon messages periodically. Moreover, an unknown node maintains a table including its own index (id), location flag ε , index of anchor node (id), and R s s . Equation (4) gives the specific assignment of location flag ε :
ε = 1 ,   m = 0 2 ,   m 1
where m is the number of received beacon messages from different anchor nodes, i.e., m is the number of detectable anchor nodes. Note that ε = 1 means no meaningful message having been received. When an unknown node would like to determine its location, it will set its location flag ε to 1. After ε changing to 2, it obtains the map of anchor nodes and starts the step of anchor grouping.

3.2. Grouping of Anchor Nodes

Assuming there are Na anchor nodes on the plane. Figure 3 shows us the approach of directly dividing the anchor nodes into two groups, each having Na/2 members and generating the two corresponding Voronoi diagrams to estimate the unknown node location. To have K ≥ 2 Voronoi diagrams with the same approach, an unknown node is required to divide the Na anchor nodes into K groups, where group j has Hj members, j = 1, … K, and N a = j = 1 K H j . Note that K must be smaller than Na and not larger than the number of detectable anchor nodes m in (4). From each group of anchor nodes, the unknown node generates the corresponding Voronoi diagram and determines the Voronoi cell closest to it. After having the K closest Voronoi cells, the overlapping area of these Voronoi cells is used as the estimated region for computing the estimated location of the unknown node. By following such an approach, however, the number of members in each group, Hj, will decrease with the increase of K. As a result, we will have smaller numbers of cells in each Voronoi diagram and K closest Voronoi cells with larger sizes. Clearly, this will degrade the accuracy of location estimation and limit our flexibility of using a large K, though we can in principle increase the number of group K up to the number of detectable anchor nodes m.
To eliminate the inflexibility of using large K, a flexible grouping approach is proposed for the anchor nodes. In short, we randomly select two anchor nodes among the m detectable anchor nodes and further randomly divide the remaining anchor nodes (i.e., the m–2 detectable anchor nodes and Nam other anchor nodes) into two equal groups. After adding the two selected anchor nodes to the two groups, we then have two groups of anchor nodes, each with at least one detectable anchor node. By repeating the procedure T times, we then have K = 2T proper anchor node groups, each with Na/2 randomly selected members. As the group size Hj does not decrease with the increase of K, we get back the flexibility of using large K.
To demonstrate the proposed method, we use the same set of anchor nodes as that in Figure 3 to generate four more groups of anchor nodes, i.e., K = 6. For simplicity, all anchor nodes are assumed to be detectable by the unknown node. Without the need to first select two detectable anchor nodes, we can simply divide all anchor nodes at random into two new anchor node groups, as shown in Figure 5a, i.e., the group of squares and the group of diamonds. Using the same approach, we have another two anchor node groups, as shown in Figure 5b, i.e., the group of pluses and the group of x-marks. Similar to that of Figure 3, the Voronoi diagrams corresponding to the anchor nodes of the groups are also plotted in Figure 5a,b. As seen in Figure 3 and Figure 5, we have a total of six Voronoi diagrams, each having six Voronoi cells for the location estimation.

3.3. Voronoi Cell Testing

After grouping, the Voronoi diagram is drawn for each group of anchor nodes. We classify Voronoi cells into two types: the closest cell having the unknown node inside (called the positive region), and other cells without the unknown node (called the negative region) according to Rss. For example, we assume that Rss1, Rss2, and Rss3 are the radio signal strengths received by the unknown node from anchor nodes P 1 , P 2 , and P 3 . When the radio signal strengths are in the order of Rss3 > Rss1 > Rss2, the Voronoi cell of P 3 is reasonably considered as the most likely to include the unknown node in it, as shown in Figure 6. After testing the K groups of anchor nodes, K “positive regions” can be obtained. Then superimposing the positive regions, the overlapping region, which is called the estimated region, is obtained by using the grid scanning method proposed in Section 3.4.

3.4. Grid Scanning

The K “positive regions” obtained by the method introduced in Voronoi Cells Testing of Section 3.3 will not have an overlapping area every time. Owing to environmental and other factors, certain errors in R s s may affect the judgment of the estimated region where the unknown node is located. Note that the unknown node may choose the wrong closest anchor nodes. Additionally, inaccuracy may occur in the location information of anchor nodes, e.g., GPS location errors. Considering such uncertainties with overlapping of the K closest Voronoi cells, a grid scan method similar to that in [12] is used to obtain the estimated region.
The proposed grid scan method assumes that the area around the unknown node consists of W grids, each with square area l 2 . For an area with the size of L × M , we have W = L × M / l 2 . The initial weights of all grids are set to 0. Note that a point inside a Voronoi cell will have the shortest distance to the corresponding anchor node compared to other anchor nodes (see the Voronoi diagram property in Section 2.1). The weight of the j -th grid will be increased by one if its center is deemed to be inside the positive region after a test of one group. If not, the weight is decreased by one, as shown in (5). Equation (6) shows the formulas for calculating weights when all tests of K groups are finished.
ω j k = 1 ,   i n s i d e 1 ,   o u t s i d e ,   1 j W ,   1 k K ,
C j = k = 1 K ω j k , 1 j W .
In principle, the estimated region is the area with grids of largest weights. Figure 7 shows us the estimated region (with grids of weight = 3) by overlapping three positive regions. To compute the estimated location of an unknown node, (7) is used to approximate the unknown node’s coordinates X est , Y est .
X est , Y est = ( 1 m i = 1 m   x i , 1 N i = 1 m   y i )
where m is the number of grids with the maximum weights; x i , y i denotes the coordinates of centers of the grids; and i = 1, … m. In the example of Figure 7, we assume that the coordinate of the grid at the bottom left corner is (1, 1) and that of the grid at the top right corner is (10, 10). Four grids have a maximum weight of 3. They have coordinates (x, y) of {(3, 5), (3, 6), (4, 5), (4, 6)}. Hence the estimated location of the unknown node (the dot in Figure 7) is (3.5, 5.5).

4. Simulations and Analysis

We conducted extensive virtual experiments using MATLAB as the simulation platform to test the performance of the VTL scheme. Performance evaluations at different sensor deployments were discussed. Two localization schemes, Centroid localization [8] and APIT [12], were used for comparison. The APIT scheme uses a randomly composed triangle of anchor nodes communicating with unknown nodes, and Centroid localization is a typical indirect estimation (range-free) localization scheme. The performance of the three localization schemes was visualized through average estimation error (Ea) and estimation percentage (Pe), given in (8) and (9).
E a = i = 1 N u ( X est X i ) 2 + ( Y est Y i ) 2 N u · R , 0 < N u N u
P e = N u / N u × 100 % ,
where N u and N u represent the number of total unknown nodes and localizable unknown nodes, respectively. X i , Y i denotes the actual coordinates of node i . E a denotes the ratio of the average positioning error of nodes to the communication radius R, which indicates the positioning accuracy of the algorithm. P e demonstrates the percentage of localizable nodes.

4.1. Settings of Simulation Parameters

Assuming that the virtual experimental environment is in an open outdoor area, the performance of the VTL scheme was evaluated with a square topology in which wireless sensor nodes were randomly distributed with uniform probability distribution. We used the radio signal model (i.e., (3)), as discussed in Section 2.2, and Table 1 lists the parameters that are commonly used for WSN simulations. We studied several parameters that may directly affect the performance of range-free schemes, as shown in Table 2.
Let Nt = Na + Nu be the number of total nodes. The ratio of anchor nodes r a is the proportion of anchor nodes to the total number of nodes, as written in (10).
r a = N a / N t × 100 %
The GPS error ( E G P S ) refers to the maximum error introduced by GPS equipment when acquiring positions of anchor nodes. In this paper, we assumed that GPS errors are isotropic.

4.2. Number of Groups

In Figure 8, the effect of the number of groups ( K ) changing from 2 to 10 on E a and P e is illustrated. Though we did not plot the case of K = 1 in the figure, we observed that dividing the anchor nodes into multiple groups can improve the accuracy of location estimation. It can be seen that the change in P e was rather minor when K was varied. However, the value of E a kept decreasing as K was increased. When K = 6, the decreases in E a became negligible. Therefore, in the following experiments, we chose K = 6 .

4.3. Density of Nodes

In this section, we explored the effect of density of nodes on the VTL scheme at four different setups, as shown in Table 3.
As shown in Figure 9a,b, Ea decreased but P e increased when N t varied from 60 to 200 in all four situations. We had the worst Ea and Pe with setup 2. With the increases of density of nodes, unknown nodes could receive more beacon messages from anchor nodes, which therefore improved the location accuracy effectively. Note that the effect of node density on the VTL scheme was mainly due to the increase of anchor node density. VTL does not rely on the communications between unknown nodes, i.e., it is insensitive to unknown node density.

4.4. Performance Comparisons with Square Topology

A comparison of simulation outcomes of three range-free schemes (VTL, APIT, and Centroid) is shown in Figure 10. As it may not be easy to compare the performance of different schemes from Figure 10, we list the statistical data in Table 4. We observed that the VTL algorithm proposed in this paper outperformed both in localization accuracy and percentage of localizable unknown nodes. Apart from Figure 10, we compared the performance of the three schemes by varying other parameters such as anchor node ratio, communication radius, and GPS error rate in the following sections.

4.4.1. Anchor Node Ratio

The parameters set for the simulation environment were an area of 100 × 100 ( m 2 ), EGPS of 0.1 m, R of 20 m, and N t of 100. In this section, anchor nodes were randomly arranged in a uniform probability distribution. The randomness was reflected by the one-to-one correspondence between the position coordinates of anchor nodes and two-dimensional random numbers. As shown in Figure 11, the effect of the ratio of anchor nodes on the three schemes with respect to E a and P e is illustrated. As can be seen in Figure 11a, P e of three algorithms kept increasing. We observed that P e of the VTL algorithm was always the highest. As can be seen in Figure 11b, when r a was less than 30%, the error of VTL was larger because most the unknown nodes in the VTL scheme could complete the estimation with only one beacon message, but E a was larger in this case, while more beacon messages needed to be obtained in the Centroid and APIT schemes. When r a varied from 10% to 70%, E a of the VTL scheme fell the most. As a result, VTL improved the level of location accuracy while maintaining a high positioning coverage rate.

4.4.2. Communication Radius of Anchor Nodes

The larger the communication radius Ra of the anchor node, the more unknown nodes can be covered by beacon messages, which is equivalent to increasing the density of anchor nodes and is conducive to reducing costs. In this part, we studied the influence of the anchor node radius Ra on localization accuracy, as shown in Figure 12. We observed that the estimation errors of Centroid and APIT increased greatly, while VTL barely increased when Ra became larger. The reason why the E a of Centroid and APIT increased when varying R a is that larger beacon propagation distances result in a larger accumulated error (see the discussion with Figure 2). In these two schemes, each beacon message was equal in estimating the location of unknown nodes. On the contrary, in VTL, only the closest anchor node was needed to find a “positive region” in each group of anchor nodes. Beacons from farther anchors will have no influence on VTL unless the error in Rss is sufficiently large to cause the wrong closest anchor nodes to be chosen. As all radio signal strengths increase simultaneously, an unknown node’s choice of its closest anchor node will not change. Therefore, the VTL scheme is insensitive to the increase of R a .

4.4.3. GPS Error

In reality, randomly distributed anchor nodes use GPS circuits to obtain their own position. In order to make the simulation experiment more comprehensive, we explored the effect of EGPS in this section with R equal to 20 m. The simulation result is shown in Figure 13.
As the EGPS varied from 0 to 20 m, the errors of all schemes increased. This is because the location of the anchor node was used as a reference for estimating the location of an unknown node, which affected the location accuracy directly. Nevertheless, the growth rate of Ea was lower than that of EGPS, and that of the VTL scheme was the lowest. In general, Ea was rather insensitive to GPS errors.

4.5. Performance Comparisons with C-Shaped Topology

To further investigate the features of the VTL scheme, simulations were arranged with the C-shaped topology, as seen in Figure 14. The C-shaped topology was generated by removing a small rectangle (80 × 60 m2) from a large square (100 × 100 m2). Its total area was only 52% of the square topology in Figure 10. In Figure 14, there are in total 140 nodes (100 unknown nodes (circles) and 40 anchor nodes (asterisks)). Its node density is approximately double that of the square area in Figure 10. One should also be aware that the radio signals sent from the anchor nodes are not bounded by the boundary of the area, no matter the square topology in Figure 10 or the C-shaped topology in Figure 14. This point has no significant effect on the simulation results of Figure 10 but has impacts on the C-shaped topology in Figure 14. Moreover, we assumed that the Voronoi diagrams can only be drawn inside the area of C-shaped topology.
Figure 15 shows the effect of the ratio of anchor nodes ra on three schemes (VTL, APIT, and Centroid). We increased ra from 10% to 70% and plotted the estimation percentage (Pe) and estimation error (Ea). Comparing Figure 15 with that of Figure 11, one can observe that Pe of all schemes in the C-shaped topology was higher. Moreover, the Pe of Centroid was closed to that of VTL. This was due to the smaller effective area and higher node density. For Ea performance, those of APIT first slightly decreased but increased again after ra exceeding 30%, which is because APIT used the overlapping area of triangles formed by detectable anchor nodes to estimate locations. The number of triangles increases with ra, but some of them may have had areas outside the boundary of the C-shaped topology. Hence, increasing ra can improve Pe of APIT but may degrade its Ea performance. Both Centroid and VTL had their Ea decreasing with ra. From the range 10% to 35% of ra, however, the performance of Centroid was better than VTL, which is because Centroid used the centroid of all detectable anchor nodes to estimate an unknown node’s location. Since Voronoi diagrams must be drawn within the boundary but the boundary does not block radio signals, Centroid may have an advantage unless the density of Voronoi cells is sufficiently high for VTL. Evidently, the performance improvement of VTL is faster than Centroid with increases of ra even though it is an irregular topology network, e.g., the C-shaped topology. Moreover, one can make the same observation from Figure 11, i.e., VTL has better Ea performance than Centroid when ra exceeds 15%.

5. Conclusions and Discussion

In this paper, we proposed a novel range-free localization scheme, the Voronoi diagram-based grouping test localization (VTL) scheme, to estimate the location efficiently for wireless sensor networks (WSNs). Unlike many other schemes, VTL only relies on the information broadcasted from static anchor nodes. No communication between nodes is required. The number of locatable unknown nodes can therefore be greatly increased. VTL divides the anchor nodes into multiple groups and uses the corresponding Voronoi cells to compute the estimated location. Apart from improving the accuracy of location estimation, it also largely simplifies the implementation because efficient algorithms are freely available.
From simulation results on regular and irregular network topologies (i.e., square and C-shaped topologies), it shows that VTL will have better performance compared with other range-free localization schemes when it reaches a certain anchor node density, e.g., 30% in the simulations. Hence, a possible application scenario of VTL will be for the extension of an existing WSN with most of the nodes having localization capacity. With VTL, the added sensor nodes do not need sophisticated hardware for communications and localization. Instead, a minimal computational capability is still required for solving the Voronoi diagrams, which grows with O(NalogNa), where Na is the number of original nodes being used as anchors. As computational hardware is continuously improving and the cost is rapidly falling, it should not be an issue for VTL in the coming future. One advantage of VTL is that its location estimation accuracy always grows with the number of anchor nodes. Other range-free localization schemes may not have such features.

Author Contributions

Conceptualization, G.L., M.X., G.T., W.Y., S.-L.M., C.-Y.L. and C.-C.L.; methodology, G.L. and M.X.; software, G.L. and M.X.; validation, G.L. and M.X.; formal analysis, G.L. and M.X.; investigation, G.L. and M.X.; resources, G.L. and M.X.; data curation, G.L. and M.X.; writing—original draft preparation, G.L., M.X., G.T. and C.-Y.L.; writing—review and editing, G.L., M.X., G.T., W.Y., S.-L.M., C.-Y.L. and C.-C.L.; visualization, G.L. and M.X.; supervision, G.L. and C.-C.L.; project administration, G.L. and C.-C.L.; funding acquisition, G.L., S.-L.M. and C.-C.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Key Coordinative Innovation Plan of Guangdong Province, Weihai Science and Technology Development Plan, by the National Natural Science Foundation of China, grant number 41904158; the Technology Developing Project of Shenzhen, grant number Key 20180126; the China Postdoctoral Science Foundation, grant number 2019M652385; Shandong Postdoctoral Innovation Project, grant number Key 202002004; the Young Scholars Program of Shandong University, Weihai (20820201005); the Hong Kong SAR, RGC Faculty Development Scheme (Project No. UGC/FDS16/P01/20); the RGC Research Matching Grant Scheme (Project No. 2021/3008); and HKMU Faculty Advancement Fund.

Data Availability Statement

All data, models, or code that support the findings of this study are available from the corresponding author upon reasonable request.

Acknowledgments

We would like to thank the editors and the anonymous reviewers for their insightful comments and constructive suggestions.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Li, W.; Kara, S. Methodology for monitoring manufacturing environment by using wireless sensor networks (WSN) and the internet of things (IoT). Procedia CIRP 2017, 61, 323–328. [Google Scholar] [CrossRef]
  2. Ellouze, N.; Rekhis, S.; Boudriga, N. A WSN-based solution for pollution detection and localization in waterways. Arab. J. Sci. Eng. 2019, 44, 3213–3233. [Google Scholar] [CrossRef]
  3. Lee, C.C.; Xu, D.; Chan, G. Low-cost System with Handheld Analyzer for Optimizing the Position of Indoor Base Stations. KSII Trans. Internet Inf. Syst. 2021, 15, 404–420. [Google Scholar]
  4. Ko, J.M.; Ni, Y.Q. Technology developments in structural health monitoring of large-scale bridges. In Proceedings of the 2nd International Conference on Structural Engineering, Mechanics and Computation, Cape Town, South Africa, 4–7 July 2004; pp. 1715–1725. [Google Scholar]
  5. Sanson, H.; Mitsuji, M. Localization for emergency sensor networks. In Proceedings of the 7th International Conference on Advanced Communication Technology, Phoenix Park, Korea, 21–23 February 2005; pp. 982–987. [Google Scholar]
  6. Kasapakis, V.; Gavalas, D. Pervasive gaming: Status, trends and design principles. J. Netw. Comput. Appl. 2015, 55, 213–236. [Google Scholar] [CrossRef]
  7. Jun, Y.; Wu, L. Optimization of Sports Training Systems Based on Wireless Sensor Networks Algorithms. IEEE Sens. J. 2021, 21, 25075–25082. [Google Scholar]
  8. Wang, F.B.; Shi, L.; Ren, F.Y. Self-localization system and algorithms for wireless sensor networks. J. Softw. 2005, 16, 857–868. [Google Scholar] [CrossRef]
  9. Bulusu, N.; Heidemann, J.; Estrin, D. GPS-less low-cost outdoor localization for very small devices. IEEE Pers. Commun. Mag. 2000, 7, 28–34. [Google Scholar] [CrossRef]
  10. Shi, X.; Yin, A.M.; Zhang, Q. Localization in wireless sensor networks based on K-nearest neighbor. Chin. J. Sci. Instrum. 2014, 35, 2238–2247. [Google Scholar]
  11. Li, G.; Zhao, S.; Wu, J.; Li, C.; Liu, Y. DV-Hop localization algorithm based on a minimum mean square error in the internet of things. In Proceedings of the International Conference on Identification, Information and Knowledge in the Internet of Things, Kunming, China, 19–21 October 2018; pp. 458–462. [Google Scholar]
  12. Sheu, J.-P.; Chen, P.-C.; Hsu, C.-S. A distributed localization scheme for wireless sensor networks with improved grid-scan and vector-based refinement. IEEE Trans. Mob. Comput. 2008, 7, 1110–1123. [Google Scholar] [CrossRef]
  13. He, T.; Huang, C.; Blum, B.M.; Stankovic, J.A.; Abdelzaher, T. Range-free localization schemes for large scale sensor networks. In Proceedings of the 9th Annual International Conference on Mobile Computing and Networking, San Diego, CA, USA, 14 September 2003; pp. 81–95. [Google Scholar]
  14. Feng, X.; Cui, X.; Huibo, Q. Modified localization algorithm of APIT based on mobile anchor node for wireless sensor network. Chin. J. Sens. Actuators 2011, 24, 269–274. [Google Scholar]
  15. Liu, H.; Wang, B.; Li, M.J.; Guo, L.; Liu, W. Substation planning of active distribution network based on improved weighted Voronoi diagram method. Autom. Electr. Power Syst. 2017, 41, 45–52. [Google Scholar]
  16. Boukerche, A.; Oliveira, H.A.; Nakamura, E.F.; Loureiro, A.A. DV-Loc: A scalable localization protocol using Voronoi diagrams for wireless sensor networks. IEEE Wirel. Commun. 2009, 16, 50–55. [Google Scholar] [CrossRef]
  17. Lasla, N.; Younis, M.F.; Ouadjaout, A.; Badache, N. An effective area-based localization algorithm for wireless networks. IEEE Trans. Comput. 2015, 64, 2103–2118. [Google Scholar] [CrossRef]
  18. Arif, M.; Wyne, S.; Nawaz, S.J. Indoor localization using Voronoi tessellation. Adv. Electr. Comput. Eng. 2018, 18, 85–90. [Google Scholar] [CrossRef]
  19. Blanco, D.; Boada, B.L.; Moreno, L. Localization by Voronoi diagrams correlation. In Proceedings of the IEEE International Conference on Robotics and Automation 2001, Seoul, Korea, 21–26 May 2001; Volume 4, pp. 4232–4237. [Google Scholar]
  20. He, C.; Guo, S.; Yang, Y. Voronoi diagram based indoor localization in wireless sensor networks. In Proceedings of the IEEE International Conference on Communications (ICC), London, UK, 8–12 June 2015; pp. 3269–3274. [Google Scholar]
  21. Singh, M.; Bhoi, S.K.; Panda, S.K. Geometric Least Square Curve-Fitting Method for Localization of Wireless Sensor Network. Ad Hoc Netw. 2021, 116, 102456. [Google Scholar] [CrossRef]
  22. Liu, L.; Yang, F.; Wang, Z.; Wang, Y. The application of Voronoi algorithm in the planning of forest-fire. IOP Conf. Ser. Mater. Sci. Eng. 2019, 490, 42008–42012. [Google Scholar] [CrossRef]
Figure 1. Example of the dual method to calculate the Voronoi diagram. (a) Delaunay triangulation. (b) Voronoi diagram.
Figure 1. Example of the dual method to calculate the Voronoi diagram. (a) Delaunay triangulation. (b) Voronoi diagram.
Electronics 11 02961 g001
Figure 2. (a) Variation of signal strength with distances of the two models. (b) Histogram of statistical data on different distances ( η = 4 , P t = 0 dBm, P L d 0 = −55 dBm, d 0 = 1 m, σ = 6).
Figure 2. (a) Variation of signal strength with distances of the two models. (b) Histogram of statistical data on different distances ( η = 4 , P t = 0 dBm, P L d 0 = −55 dBm, d 0 = 1 m, σ = 6).
Electronics 11 02961 g002
Figure 3. Example of the “estimated region” for the two groups.
Figure 3. Example of the “estimated region” for the two groups.
Electronics 11 02961 g003
Figure 4. Schematic diagram of VTL.
Figure 4. Schematic diagram of VTL.
Electronics 11 02961 g004
Figure 5. Example of four new groups of anchor nodes using the 12 anchor nodes in Figure 3: (a) the third group (squares) and fourth group (diamonds); (b) the fifth group (pluses) and sixth group (x-marks).
Figure 5. Example of four new groups of anchor nodes using the 12 anchor nodes in Figure 3: (a) the third group (squares) and fourth group (diamonds); (b) the fifth group (pluses) and sixth group (x-marks).
Electronics 11 02961 g005
Figure 6. Examples of “positive region” (shaded area) and “negative region” (blank area).
Figure 6. Examples of “positive region” (shaded area) and “negative region” (blank area).
Electronics 11 02961 g006
Figure 7. Grid scanning.
Figure 7. Grid scanning.
Electronics 11 02961 g007
Figure 8. Effect of number of groups K on VTL. (S = 100 × 100 m2, Nt = 100, ra = 40%, Ra = R = 20 m, EGPS = 0.1 m). (a) Averag estimation error Ea. (b) Estimation percentage Pe.
Figure 8. Effect of number of groups K on VTL. (S = 100 × 100 m2, Nt = 100, ra = 40%, Ra = R = 20 m, EGPS = 0.1 m). (a) Averag estimation error Ea. (b) Estimation percentage Pe.
Electronics 11 02961 g008
Figure 9. Effect of density of nodes on the VTL scheme (R = 20 m, EGPS = 0, K = 6). (a) Average estimation error Ea. (b) Estimation percentage Pe.
Figure 9. Effect of density of nodes on the VTL scheme (R = 20 m, EGPS = 0, K = 6). (a) Average estimation error Ea. (b) Estimation percentage Pe.
Electronics 11 02961 g009
Figure 10. Comparison of simulation outcomes of three algorithms at the same square topology (S = 100 × 100 m2, Nt = 140, Na = 40, Ra = R = 20 m, EGPS = 0, K = 6). (a) WSN node distribution. (b) Centroid. (c) APIT. (d) VTL.
Figure 10. Comparison of simulation outcomes of three algorithms at the same square topology (S = 100 × 100 m2, Nt = 140, Na = 40, Ra = R = 20 m, EGPS = 0, K = 6). (a) WSN node distribution. (b) Centroid. (c) APIT. (d) VTL.
Electronics 11 02961 g010
Figure 11. Effect of ratio of anchor nodes ra on the three schemes (S = 100 × 100 m2, Nt = 100, Ra = R = 20 m, EGPS = 0, K = 6). (a) Estimation percentage Pe. (b) Average estimation error Ea.
Figure 11. Effect of ratio of anchor nodes ra on the three schemes (S = 100 × 100 m2, Nt = 100, Ra = R = 20 m, EGPS = 0, K = 6). (a) Estimation percentage Pe. (b) Average estimation error Ea.
Electronics 11 02961 g011
Figure 12. Radius of anchor nodes Ra versus average estimation error Ea (S = 200 × 200 m2, Nt = 200, ra = 40%, R = 20 m, EGPS = 0, K = 6).
Figure 12. Radius of anchor nodes Ra versus average estimation error Ea (S = 200 × 200 m2, Nt = 200, ra = 40%, R = 20 m, EGPS = 0, K = 6).
Electronics 11 02961 g012
Figure 13. e G P S versus average estimation error Ea (S = 200 × 200 m2, Nt = 200, ra = 40%, Ra = R = 20 m, K = 6).
Figure 13. e G P S versus average estimation error Ea (S = 200 × 200 m2, Nt = 200, ra = 40%, Ra = R = 20 m, K = 6).
Electronics 11 02961 g013
Figure 14. The random distribution of 100 unknown nodes (circles) and 40 anchor nodes (asterisks) on a C-shaped topology.
Figure 14. The random distribution of 100 unknown nodes (circles) and 40 anchor nodes (asterisks) on a C-shaped topology.
Electronics 11 02961 g014
Figure 15. Effect of ratio of anchor nodes ra on three schemes (C-shaped topology in Figure 14, Nt = 140, Ra = R = 20 m, EGPS = 0, K = 6). (a) Estimation percentage Pe. (b) Average estimation error Ea.
Figure 15. Effect of ratio of anchor nodes ra on three schemes (C-shaped topology in Figure 14, Nt = 140, Ra = R = 20 m, EGPS = 0, K = 6). (a) Estimation percentage Pe. (b) Average estimation error Ea.
Electronics 11 02961 g015
Table 1. Simulation parameters and values.
Table 1. Simulation parameters and values.
ParametersValues
η 4
P t 0 dBm
P L d 0 −55 dBm
d 0 1 m
σ4
Table 2. Simulation parameters and values.
Table 2. Simulation parameters and values.
ParametersValues
Network size (S)100 × 100, 200 × 200
Number of total nodes ( N t ) 60–200
Anchors ration ( r a )10–70%
Radius of unknown nodes (R)20 m, 40 m
Radius of anchor nodes (Ra)20–80 m
GPS error ( E G P S )0, 5–10 m
Number of groups (K)2–10
Grid size (l)2 m
Table 3. Four setups.
Table 3. Four setups.
Namera (%) R a ( m ) Size   of   Area   ( m 2 )
Setup 14040200 × 200
Setup 24020200 × 200
Setup 34040100 × 100
Setup 44020100 × 100
Table 4. Performance comparison (Figure 9).
Table 4. Performance comparison (Figure 9).
Algorithms E a ( R ) P e ( % )
VTL0.361100
Centroid0.43499
APIT0.39684
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Li, G.; Xu, M.; Teng, G.; Yang, W.; Mak, S.-L.; Li, C.-Y.; Lee, C.-C. A Voronoi Diagram-Based Grouping Test Localization Scheme in Wireless Sensor Networks. Electronics 2022, 11, 2961. https://doi.org/10.3390/electronics11182961

AMA Style

Li G, Xu M, Teng G, Yang W, Mak S-L, Li C-Y, Lee C-C. A Voronoi Diagram-Based Grouping Test Localization Scheme in Wireless Sensor Networks. Electronics. 2022; 11(18):2961. https://doi.org/10.3390/electronics11182961

Chicago/Turabian Style

Li, Guangming, Menghui Xu, Gaofei Teng, Wei Yang, Shu-Lun Mak, Chun-Yin Li, and Chi-Chung Lee. 2022. "A Voronoi Diagram-Based Grouping Test Localization Scheme in Wireless Sensor Networks" Electronics 11, no. 18: 2961. https://doi.org/10.3390/electronics11182961

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