You are currently viewing a new version of our website. To view the old version click .
Telecom
  • Article
  • Open Access

18 December 2025

Energy Efficient Neighbor Discovery Protocol for Wireless Sensor Networks Using Coprime Numbers

,
and
1
Department of Computer Science, University of Nebraska at Omaha, Omaha, NE 68182, USA
2
Research Center, Social Security Information Service, Seoul 04554, Republic of Korea
3
Department of Computer Enigneering, Mokwon University, Daejeon 35349, Republic of Korea
*
Author to whom correspondence should be addressed.
This article belongs to the Special Issue Wireless Communications for UAVs, IoT, 5G Technologies, Information and Coding Theory

Abstract

In a long-term monitoring wireless sensor network (WSN) application, sensors are frequently deployed in a wide and an unattended geographical area to gather useful information for a long period of time. Although energy efficiency is affected by various factors, the wireless communication unit is typically the most energy-intensive component of wireless sensors. To extend the life of wireless sensors, they alternate between sleep and active modes to conserve energy. Thus, to exchange a message with neighboring sensors, both sending and receiving sensors must discover each other and stay awake simultaneously. This paper proposes a new neighbor discovery protocol (NDP) by enhancing U-Connect, a well-known protocol that constructs neighbor discovery schedules using only a single prime number. Although the proposed method shares the same characteristics as U-Connect, it offers greater flexibility than U-Connect in terms of duty cycles and schedule lengths. Our numerical analysis based on a power-latency ( P L ) product shows that the proposed method is more efficient than other NDPs such as Quorum, U-Connect, Disco, and ECNDP.

1. Introduction

A wireless sensor network refers to a technology in which wireless sensor devices form a network and transmit information wirelessly to provide physical or environmental conditions to a remote server [1,2,3]. Wireless sensors are typically deployed in large areas where replacing or recharging batteries is costly, inconvenient, or impractical. For example, sensors can be deployed around a volcano to monitor the signs of a volcanic eruption. In such applications, it is not feasible to collect sensors, replace batteries, and deploy them back to the sensing field [4,5,6,7,8,9,10,11,12,13,14,15,16].
In general, wireless sensors are generally powered by a built-in battery, and energy efficiency is crucial for extending the lifetime of the monitoring system. To minimize the battery consumption, a wireless sensor toggles between sleep (power saving) and wake-up (active mode for wireless communication) modes. The configuration of sensors’ sleep mode and wake-up mode within a bounded time, is called a sensor schedule. In order to communicate with neighboring sensors, both the sender and receiving neighbor must be in a wake-up mode simultaneously [9,10,17,18,19,20,21].
A scheduling method that enables a sensor to identify other sensors within a transmission range is known as a neighbor discovery protocol (NDP). In general, increasing the frequency of an active slot will decrease a communication latency by providing more frequent overlapping active slots between two neighbors. However, the increased active slots will result in higher energy consumption. Therefore, the goal of NDPs is to find a set of discovery schedule that achieves desired energy efficiency while minimizing the neighbor discovery latency between neighboring sensors. An NDP also ensures that any randomly selected pair of wireless sensors will discover each other within a certain period known as the worst-case discovery latency [8,9,10,17].
In this paper, we introduced a new NDP based on U-Connect [10] and compared the proposed approach with several well-known NDPs including, a method that uses an n × n grid for the construction of discovery schedules (Quorum [18,20]), and approaches using prime numbers for schedule construction (Disco [9], and U-Connect [10]). The analysis results in [10] show that U-Connect outperforms both Quorum and Disco in terms of the comparison metrics called the power-latency ( P L )-product. U-Connect relies on a single prime number to construct its discovery schedules, which means the length of the discovery schedules it produces is constrained to that chosen prime number. However, the length of discovery schedules in the proposed approach can be a multiple of any prime number, and our method provides greater flexibility than U-Connect in terms of duty cycles and schedule lengths.
The main advantages of our proposed method, ECNDP, can be summarized as follows:
  • Energy efficiency: As shown in Theorem 2, the worst-case discovery latency of ECNDP will be bounded by n · k when two neighboring sensors use the same odd number k for constructing their discovery schedule and the number of active slots in the schedule is set to ( k 1 ) / 2 + n · k . ECNDP can adjust the number of active slots—which is closely tied to an NDP’s energy consumption—to further reduce energy usage during the discovery phase.
  • Superior performance: The proposed approach is more energy efficient. One key metric for comparing NDP protocols is the P L -product, and as shown in Table 1, the proposed method outperforms others in this aspect.
  • Greater flexibility: U-Connect generates discovery schedules of length p 2 where p is the selected prime. On the other hand, the proposed method can offer greater flexibility because its discovery schedules are constrained to n · k , where k is odd number and n is any positive number (See Table 2 and Table 3 for the set of duty cycles that can be constructed using the proposed method).
  • In Theorem 3, we used the Chinese Remainder Theorem (CRT) [22] to demonstrate that overlapping active slot is established any two ECNDP discovery schedules when two distinct coprime numbers k and i. U-Connect relies on prime numbers to construct discovery schedules, whereas our proposed method uses coprime numbers. As a result, ECNDP can generate a wider variety of schedules than U-Connect.
This paper is organized as follows: Section 2 reviews related work. In Section 3, we provided background information and introduce our proposed method, ECNDP. Section 4 presents numerical analysis, Section 5 shows experimental results, and Section 6 offers conclusions and discusses future work.

2. Related Works

In this section, we briefly introduce several well-known NDPs based on grid structures or prime numbers.
In Ref. [18], a grid based NDP called Quorum was proposed. Quorum selects a random row and column from an n × n grid for the position of active slots, while the remaining slots are configured as sleep slots. Quorum guarantees that any two schedules will have at least two overlapping active slots within a cycle length of n 2 . Although the Quorum technique is relatively simple and flexible, it is known to be inefficient compared to prime-based NDPs.
There are two well-known prime-based NDPs. One is Disco [9] that uses two prime numbers to construct discovery schedules, and the other is U-Connect [10] that uses only one prime number for the schedule construction. In Disco, a sensor node wakes up during slots whose indices are divisible by one of the selected prime numbers p. U-Connect adds a group of consecutive active slots from the slot index zero to the slot index ( p + 1 ) / 2 , and adds periodic active slots when the slot indexes are divisible by the selected prime number p.
In Ref. [10], the authors proposed a new comparison metric called the power latency product ( P L -product) and showed that U-Connect outperformed Quorum and Disco in terms of P L -product values. Note that, since the cycle length of U-Connect is fixed at p 2 , it can support only a limited set of duty cycles (DCs) for WSN applications. To enhance the flexibility of U-Connect, in this study, we proposed a new scheduling method that supports a wider range of duty cycles (DCs).

3. Extend Coprime Based NDP

In this section, we first provide the background knowledge necessary to understand the proposed NDP. Then, we define a coprime-based schedule approach for WSNs, and then demonstrate that a common active slot exists between any two sensors using the discovery schedule generated by the proposed method.

3.1. Background Knowledge

In many wireless sensor applications, each sensor alternates its transmitter between sleep and active modes. Different schedules may exhibit varying ratios of sleep to active slots within a cycle. A duty cycle is defined as the ratio of active slots to the total number of slots in a schedule, expressed as a percentage. The duty cycle D can be expressed mathematically as follows:
D = A T × 100
where A is the number of active slots and T is the total number of slots in a cycle.
Definition 1.
Discovery Schedule: Suppose that a wireless sensor node u has a discovery schedule with a length T, we denote a discovery schedule as a sequence S u T = a 0 ,   a 1 ,   a 2 ,   ,   a T 2 ,   a T 1 such that for all i in [ 0 ,   T 1 ] and a i = 0 or 1. In S u T , the i t h binary number represents the i th discovery slot in the cycle T. When a i = 1 , the i t h discovery slot is called an active slot where sensor u must stay awake, whereas the sensor turns off its radio during the i th slot, called a sleep slot, if a i = 0 .
Figure 1 illustrates an example of a discovery schedule. The cycle length in Figure 1 is 10, with active slots occurring at indices 0 ,   1 ,   2 , and 5, during which the node keeps its radio unit on for the entire duration of each slot. All other slots, indicated by ‘0’, are sleep slots. Since this scheduling pattern repeats, the figure shows the pattern through the end of the second cycle.
Figure 1. An example schedule of wireless sensor that wake up at slot indexes 0, 1, 2, and 5 within a cycle of length 10.
In WSNs, any randomly selected two sensors within their transmission range are able to communicate with each other. Therefore, any two schedules S u T and S v M must have at least one common active slot where the neighboring sensors are simultaneously awake. If two schedules have a common active slot, the inner product of two schedule will be greater than or equal to 1, i.e., S u T · S v M = i = 0 L 1 a i · b i 1 where L = L C M ( T , M ) , with L C M representing the least common multiple.
During the discovery phase, two neighboring sensors can detect each other only when they are simultaneously active in the same slot. As shown in Figure 2, although the two nodes follow different schedules, they are both active at slot indices 2 and 11, enabling successful discovery.
Figure 2. Common active slot: For these two schedules, the common active slots occur at indices 2 and 11.
The Chinese Remainder Theorem (CRT) [22], a fundamental result in number theory, is used to establish the existence of a common active slot in our proposed scheduling method.
Theorem 1.
Let k and n be coprime. Then, the following equations:
x a ( m o d k ) x b ( m o d n )
have a unique solution for x mod k n .
As an example, for two coprime numbers five and nine, we can find a unique solution for the following modular equations:
x 3 ( m o d 5 ) x 4 ( m o d 9 ) .
Note that 9 × ( 1 ) + 5 × 2 = 1 . Then, the solution is x 9 × ( 1 ) × 3 + 5 × 2 × 4 = 13 ( m o d 45 ) . Thus, the solution of the equations above is 13 58 103 and so on.

3.2. Extended Coprime Based Scheduling

In this subsection, we introduce the fundamental properties of the proposed approach, called extended coprime-based neighbor discovery protocol (ECNDP).
Definition 2.
Extended Discovery Schedule: A wireless sensor node u has a discovery schedule S u n · k , where S u n · k is a binary string of length n × k for a positive odd number k and a positive number n. S u n · k = a 0 ,   a 1 ,   a 2 ,   ,   a ( n · k ) 2 ,   a ( n · k ) 1 such that a i = 1 if a i { x | 0 x k 1 2 ,   k ,   2 k ,   ,   ( n 1 ) k } . Otherwise a i = 0 , where 0 represents a sleep mode and 1 represents an active mode.
For example, if we choose k = 9 and n = 3 , then length of the schedule is 27, with active slots at indices 0 ,   1 ,   2 ,   3 ,   4 ,   9 , and 18, as shown in Figure 3. The first five consecutive slots are active because k 1 2 = 9 1 2 = 4 , which corresponds to Slot 0 through Slot 4. After these initial k slots, any slot whose index is a multiple of 9 becomes an active slot Figure 3. The first five consecutive slots are active because k 1 2 = 9 1 2 = 4 , which corresponds to Slot 0 through Slot 4. After these initial k slots, any slot whose index is a multiple of 9 becomes an active slot.
Figure 3. An example of the proposed scheduling method ECNDP for k = 9 and n = 3 .
Sensors deployed in a field may not start operating simultaneously, which can lead to asynchronous scheduling among them. To address this issue of slot drifting, the discovery schedule S u n k is generalized as follows. For an integer d > 0 ,
S u n · k 1 + d = b i i = d n · k 1 + d such that b i d = a i .
The proposed approach guarantees the existence of at least one common active slot between any pair of sensors within the cycle length. This claim is supported by Theorems 2 and 3. Theorem 2 addresses the scenario where two sensors use the same discovery schedule generated with a common positive odd integer k. Theorem 3 examines the case where two sensors employ different discovery schedules, generated with coprme positive odd integers k and i, for neighbor discovery.
To demonstrate the existence of a common active slot in the presence of clock drift, we introduce new notation and present the following lemma. For a set A = { n 1 ,   n 2 ,   ,   n r } and positive integers d and L, we define A + d = { ( n i + d ) mod L : n i A } .
Lemma 1.
Let A = { n 1 , n 2 , , n r } be a subset of Z + . If for some integer 0 d < L there exist a i , a j A such that
d a i a j ( mod L ) ,
then A ( A + d ) Ø .
Proof. 
The congruence equation d a i a j ( mod L ) implies that there exists an integer r such that a i a j = d + r · L , which is equivalent to a i a j + d ( mod L ) . Since we defined A + d = { ( a + d ) mod L : a A } , it follows that the residue class of a j + d modulo L is an element of A + d . But the above congruence shows that this residue class coincides with the residue class of a i , which is an element of A. Therefore, the same residue class lies in both A and A + d , implying A ( A + d ) Ø .
The following theorem shows that, for any pair of discovery schedules generated with a common odd number, there always exists at least one common active slot between them. In other words, two sensors using these discovery schedules will be able to discover each other regardless of any clock drift between them.
Theorem 2.
Let two sensor nodes u and v have discovery schedules S u n · k and S v n · k as given in Definition 2, respectively. If the clock drift of u and v are d 1 and d 2 , respectively, then the schedules S u n · k + d 1 and S v n · k + d 2 have at least one common active slot. That is ( S u n · k + d 1 ) · ( S v n · k + d 2 ) 1 .
Proof. 
Without loss of generality, let d 1 = 0 and d 2 = d > 0 . By Definition 2, the parameter k is odd, and therefore k 1 2 is an integer. Let A u denote the set of slot indices at which node u is in the active mode in its schedule:
A u = { a mod n · k a { 0 ,   1 ,   ,   k 1 2 ,   k ,   2 k ,   ,   ( n 1 ) k } } .
We show that for every drift d in the range 1 d n · k , there exist a i ,   a j A u such that d a i a j ( mod n · k ) . Once this is established, Lemma 1 guarantees A u ( A u + d ) Ø ,   and thus the two schedules overlap.
  • Case 1: Clock drift d is in ( 0 ,   k 1 2 ] .
The set A u contains all consecutive integers from 0 to k 1 2 . Therefore, all differences
1 = 1 0 = 2 1 = = k 1 2 k 3 2 , 2 = 2 0 = 3 1 = = k 1 2 k 5 2 , k 3 2 = k 1 2 1 ,   and k 1 2 = k 1 2 0 .
Hence for all integers d such that 0 < d k 1 2 , A u ( A u + d ) Ø .
Note that, in the expression 1 = 1 0 , the left-hand side represents the clock drift, whereas the right-hand side denotes the difference between the active-slot indices 0 and 1 in the set A u . Throughout the subsequent expressions, the left-hand side always denotes the clock drift, while the subtraction on the right-hand side represents the difference between two active-slot indices in the set A u .
  • Case 2: Clock drift d is in [ k + 1 2 ,   k ] .
Since k A u , subtracting from the consecutive elements 0 ,   1 ,   ,   k 1 2 yields
k + 1 2 = k k 1 2 , k + 3 2 = k k 3 2 , k 2 = k 2 , k 1 = k 1 , and k = k 0 .
Thus, we know that for all d in [ k + 1 2 ,   k ] , A u ( A u + d ) Ø .
  • Case 3: Clock drift d is in [ k + 1 ,   k + k 1 2 ] .
Since the schedule length is L = n · k , the indices wrap modulo L. Because 1 A u , we obtain 1 n · k + 1 ( mod n · k ) . Subtracting ( n 1 ) k A u gives k + 1 = ( n · k + 1 ) ( n 1 ) k . Likewise, using the consecutive elements 0 , 1 , , k 1 2 in A u , we obtain that
k + 2 = ( n · k + 2 ) ( n 1 ) k , k + 3 = ( n · k + 3 ) ( n 1 ) k , k + k 1 2 = ( n · k + k 1 2 ) ( n 1 ) k .
Thus A u ( A u + d ) Ø for all d [ k + 1 , k + k 1 2 ] .
  • Case 4: Clock drift d is in [ k + k + 1 2 ,   2 k ] .
A similar argument applies. Using 2 k A u and the consecutive elements in the first block, we obtain that
k + k + 1 2 = 2 k k 1 2 , k + k + 3 2 = 2 k k 3 2 , 2 k 1 = 2 k 1 , and 2 k = 2 k 0 .
Thus each d in [ k + k + 1 2 ,   2 k ] can be expressed as a difference of elements of A u , so A u ( A u + d ) Ø .
The same reasoning repeats across all remaining blocks [ 2 k ,   3 k ] ,   [ 3 k ,   4 k ] ,   ,   [ ( n 1 ) k ,   n · k ] . Therefore, for every drift 1 d n · k , there exist a i , a j A u satisfying d a i a j ( mod n · k ) . By Lemma 1, this implies for all d in ( 0 , n · k ] , A u ( A u + d ) Ø . Thus, the schedules S u n · k and S v n · k + d always share at least one common active slot. □
Theorem 2 guarantees that any two sensors employing the extended discovery schedule defined in Definition 2 can successfully discover each other within a single schedule period, even when their clocks are drifted. In other words, the two sensors can communicate successfully without requiring synchronized start times.
The next theorem is about the discovery schedules generated from coprime integers. Because the proposed scheme is based on coprime numbers, without losing generality, we assume S u n · k and S v m · i are constructed using two numbers k and i and their highest common factor (or greatest common divisor) is 1. The cycle lengths of S u n · k and S v n · i are n · k and m · i , respectively. The following theorem shows that the drifted discovery schedules of S u n · k and S v m · i , S u n · k + d 1 and S v m · i + d 2 , have at least one common active slot.
Theorem 3.
For two sensor nodes u and v using a discovery schedule S u n · k + d 1 and S v m · i + d 2 , respectively as defined in Definition 2 where n and m are distinct positive integers, the nodes u and v have at least one common active slot within k · i slot times.
Proof. 
By Definition 2, the active slot indexes of u is d 1 ,   d 1 + 1 ,   d 1 + 2 ,   . . . ,   d 1 + ( k 1 ) / 2 ,   d 1 + k ,   , d 1 + ( n 1 ) · k ,   d 1 + n · k ,   . Also, the active slot indexes of v is d2,   d 2 + 1 ,   d 2 + 2 ,   ,   d 2 + ( i 1 ) / 2 , d 2 + i , ,   d 2 + ( m 1 ) · i ,   d 2 + m · i . Since the selected two numbers k and i are coprime, by the CRT [22], there exists a unique solution to the following system of equations:
x d 1 ( m o d k ) x d 2 ( m o d i ) .
The solution x represents the index of the common active slot between u and v. Therefore, two sensor nodes u and v can discover each other using a common active slot indexes at x x + k · i x + 2 k · i . □
The scenario is considered asymmetric when the duty cycles (DCs) of different sensor nodes are different. According to Theorem 3, if the two period values ‘k’ and ‘i’ are coprime, the two schedules will share at least one common active slot within k × i slots. This result indicates that the proposed ECNDP scheme is applicable even in asymmetric scenarios.

4. Numerical Analysis

In this section, we compared the discovery schedules of Quorum, Disco, and U-Connect with our proposed method ECNDP using a numerical metric called P L (power-latency) product [10]. The average power consumption of a schedule S u T is defined by P = 1 T i = 0 T 1 a i and L represents the worst-case discovery latency. Thus, the power latency product λ is defined as the following: λ = P L = L T i = 0 T 1 a i .
The Quorum-based NDP in [18,20] uses a matrix to produce discovery schedules. The entries of the matrix are filled with monotonically increasing numbers from one to n 2 from the top left to the bottom right corner. Each sensor randomly picks one column and one row from the matrix, and the selected column and row are used for the location of active slots. Therefore, the total cycle length of the quorum-based NDP is L = n 2 . P Q = ( 2 n 1 ) / n 2 and the value of P L is λ Q = 2 ( L 1 ) 2 L .
The U-Connect NDP in [10] uses one prime number p to produce a base schedule and adds additional consecutive active slots from the first slot of the discovery cycle to the p + 1 2 th slot. In other words, U-Connect has a set of p + 1 2 consecutive active slots at the beginning of each cycle (of length p 2 ) in addition to the set of periodic active slots where their indexes are divisible by the selected prime number p. The worst-case latency (L) of U-Connect is equal to p 2 . Therefore, U-Connect becomes a 1.5-approximation algorithm for neighbor discovery. More precisely, the average energy consumption of U-Connect ( P U ) is p + 1 2 + p p 2 p 2 3 2 L L . Thus, the P L product of U-Connect is given by λ U = 3 p + 1 2 = 3 L + 1 2 3 L 2 .
Disco in [9] uses two prime numbers for neighbor discovery protocol. The worst case latency is given by L = p 1 p 2 , and active slot numbers is givey by p 1 + p 2 . Therefore, the power consumption is p 1 + p 2 p 1 p 2 . The P L product of Disco is λ E = p 1 + p 2 2 p 1 p 2 = 2 L .
We give P L product of ECNDP. Since ECNDP uses a single odd number k and a positive integer n. The worst-case latency can be expressed as L = n · k . The power consumption of ECNDP is given by 1 L ( k 1 2 + n ) . Accordingly, the P L product of ECNDP, denoted by λ E , can be derived as λ E = ( k 1 2 n · k + 1 k ) n · k = k 1 2 + n · k k k 2 + n · k k . Since k and n are positive integers, by arithmetic–geometric mean inequality, we obtain k 2 + n · k k 2 k 2 · n · k k = 2 n · k 2 = 2 L . The equality holds if k equals 2 n . Table 1 provides a summary of the P L product for each protocol. The Normalized values express the ratio of each protocol’s P L product relative to the P L products of Quorum and Disco. Since Quorum and Disco both have a normalized value of 1, their P L products are used as the baseline for comparison.
Table 1. P L product of each protocol.
Table 1. P L product of each protocol.
ProtocolParameters
(-)
PL Product
(-)
Normalized
(-)
Quorumn 2 L 1 2 L 1
Disco p 1 ,   p 2 2 p 1 × p 2 = 2 L 1
U-Connectp 3 L + 1 2 3 L 2 0.75
ECNDP k ,   n k 1 2 + n 2 L 0.707
Table 2 displays various sets of Duty Cycles (DC) for discovery schedules generated by the proposed method using prime numbers p, with decimal points omitted. The generated schedules have shorter cycle lengths compared to those of U-Connect. Since the DC of ECNDP is k 1 2 + n n k × 100 , ECNDP can produce more discovery schedules with various DCs than U-Connect. For instance, using odd number three, it is possible to generate nine schedules with DCs of 34%, 35%, 36%, 37%, 38%, 40%, 41%, 44%, and 50%.
Table 2. A set of duty cycles available in ECNDP with various k values.
Table 2. A set of duty cycles available in ECNDP with various k values.
k (-)Duty Cycle (%)
334, 35, 36, 37, 38, 40, 41, 44, 50
521, 22, 23, 24, 25, 26, 28, 30, 33, 40
715, 16, 17, 18, 19, 20, 21, 22, 25, 28, 35
1110, 11, 12, 13, 14, 15, 16, 18, 20, 24, 31
139, 10, 11, 12, 13, 14, 15, 16, 19, 23, 30
177, 8, 9, 10, 11, 12, 13, 15, 17, 21, 29
196, 7, 8, 9, 10, 11, 12, 13, 14, 17, 21, 28
235, 6, 7, 8, 9, 10, 11, 12, 13, 16, 20, 28
294, 5, 6, 7, 8
314, 5, 6, 7, 8
413, 4, 5, 6, 7
473, 4, 5
Figure 4 provides the pseudocode for determining the parameters of k and n that yield a shorter cycle length and a smaller number of active-mode slots compared to U-Connect. Figure 4 presents an algorithm that explores the search space defined by k v a l , n < 200 for all feasible pairs ( k v a l , n ) capable of generating discovery schedules with short cycle length and lower duty cycle.
Figure 4. Pseudocode for determining k and n in ECNDP.
Table 3 compares the Duty Cycles (DCs) supported by the proposed method, ECNDP, with those supported by U-Connect. In the first row, U-Connect uses the prime number 13 to generate a schedule with an approximate Duty Cycle (DC) value of 10%. The schedule has 20 active slots, and the length of the schedule is 169. In contrast, the proposed ECNDP offers multiple options to generate a schedule with an approximate DC of 10%. For instance, by using the prime number 13 and setting n to 12, ECNDP produces a cycle of length 156 with 18 active slots. This results in fewer active slots and a shorter cycle length than U-Connect. The 10% row in ECNDP only shows schedules that have shorter cycle lengths and fewer active slots than U-Connect. For DCs in the 1%, 2%, 5%, and 10% ranges, the proposed method demonstrates an ability to generate schedules with fewer active slots and shorter cycle lengths.
Table 3. Comparison of U-Connect and ECNDP in terms of the number of active slots and cycle length at 10%, 5%, 2%, and 1% duty cycles.
Table 3. Comparison of U-Connect and ECNDP in terms of the number of active slots and cycle length at 10%, 5%, 2%, and 1% duty cycles.
U-ConnectECNDP
DC
(%)
p
(-)
Num. Active Slots
(Slots)
Length
(Slots)
DC
(%)
k
(-)
n
(-)
Num. Active Slots
(Slots)
Length
(Slots)
11.83%132016911.53%131218156
11.24%131319169
11.76%17816136
11.11%17917153
5.23%29448415.11%292943841
5.16%312540775
5.08%312641806
5.02%312742837
5.14%411838738
5.00%411939779
4.87%412040820
2.06%7311053292.06%73711075183
2.05%73721085256
2.04%73731095329
2.06%79621014898
2.03%79641035056
2.02%79651045135
2.01%79661055214
2.00%79671065293
0.99%15122722,8010.99%15115022522,650
0.99%15115122622,801
0.99%15713921721,823
0.99%15714021821,980
0.98%15714121922,137
0.98%15714222022,294
0.98%15714322122,451
0.98%15714422222,608
0.97%15714522322,765
Table 4 compares the lengths of discovery cycles in ECNDP with those of Disco and U-Connect for the selected Duty Cycles, ranging from 1% to 10%. As shown in Table 4, the cycle length of ECNDP is only 47% of that of Disco and 90% of U-connect on average.
Table 4. Comparison of ECNDP, Disco and U-Connect in terms of the length of discovery schedules.

5. Experimental Analysis

In this study, we utilized the OMNeT++ 6.0.2 simulator for our performance evaluation, leveraging the INET framework, which includes various wired and wireless components [23]. We randomly deployed 50 sensor nodes for the experiments as shown in Figure 5. For communication, we utilized the IEEE 802.15.4 protocol as the standard, with CSMA/CA-based communication implemented at the MAC layer. The experiments were conducted in a symmetric environment with duty cycles of 10%, 5%, 2%, and 1%. Communication was carried out in a bidirectional, broadcasting manner. The algorithms considered in this study include U-Connect, Quorum, Disco, and the proposed ECNDP.
Figure 5. OMNeT++ simulator.
Table 5 and Table 6 present the simulation settings. We conducted 20 random simulation runs for each duty cycle using the parameters p, k, and n shown in Table 7. In the simulation, “Active” refers to the state in which a node is transmitting, receiving or listening. Thus, if a node remains in Active mode continuously, it stays engaged in these operations throughout each slot, leading to significantly higher energy consumption.
Table 5. Power consumption parameters in different modes.
Table 6. Configuration setting of OMNeT++ simulator.
Table 7. Parameter settings of each protocols for simulation.
In a typical wireless sensor network, sensors are frequently configured with an extremely low duty cycle because the network must operate on battery power for extended periods, often spanning several months to years. Considering this critical requirement, we selected a 1% duty cycle for the experimental setup and simulation focus. Also, this setting was chosen because, as illustrated in Table 4, the performance difference between the proposed ECNDP protocol and other neighbor discovery protocols (NDPs) diminishes as the duty cycle is lowered. By selecting 1%, we tested its performance at the most constrained operational point.
The discovery delays shown in Figure 6 and Figure 7 are based on the worst-case discovery latency. Even if two nodes discover each other quickly, they must remain in discovery mode—continuing mandatory periodic wake-ups—until the full worst-case discovery duration has elapsed. This is because a node cannot independently determine whether all of its neighbors have been discovered. To guarantee complete neighbor discovery, each node must therefore stay in the discovery phase until the end of its designated discovery cycle. As a result, for nodes with low duty cycles, the worst-case discovery latency for low-duty neighbors can become significantly long.
Figure 6. Experimental result of worst-case latency.
Figure 7. Experimental result of energy consumption.
Figure 6 presents the box plot for simulated cases with 1% duty cycle (DC), illustrating that the proposed method outperforms U-Connect, Disco, and Quorum in terms of latency. The proposed method demonstrates superior overall performance, particularly through its substantially lower standard deviation compared to Disco and Quorum, excluding U-Connect.
In Figure 6, the median latency of ECNDP is approximately 1500 ms, and the narrow interquartile range (IQR) indicates stable performance. Outliers appear near 1850 ms on the upper end, suggesting that under certain conditions the latency can spike, though overall variability remains low. Its median is also lower than that of U-Connect. For U-Connect, the median ranges from 1550 ms to 1600 ms, with an extremely small IQR, reflecting highly stable behavior. There are almost no outliers, and although the average latency is slightly higher, U-Connect exhibits the lowest variability overall. For Disco, the median latency is around 1450 ms —the lowest among the protocols. Its IQR shows a moderate level of dispersion, with almost no outliers. Overall, its variability is higher than ECNDP but more stable than Quorum. For Quorum, the median latency is roughly 1850 ms, the highest among the protocols. Its IQR is also wide, indicating substantial variability and instability. Although it shows no outliers, both the higher latency and the broad distribution reflect less stable performance.
Table 8 presents the mean and variance of the experimental results, while Table 9 shows the results of the ANOVA test. The ANOVA results indicate a statistically significant difference in latency among the four treatments (F(3,36) = 7.83, p <0.001). The treatment effect explains approximately 39.5% of the total variance, indicating a large effect size.
Table 8. Latency experiment summary for each protocol.
Table 9. Analysis of variance (ANOVA) for latency experiment.
ECNDP consistently consumes the least energy with minimal variation, followed by U-Connect. In contrast, Disco and Quorum exhibit significantly higher and more variable energy consumption. These results show that ECNDP provides the most energy-efficient discovery mechanism, while Quorum is the least efficient among the four protocols.
Figure 7 presents the results for energy consumption. ECNDP shows the lowest median energy usage at approximately 0.082J, with a very narrow IQR, indicating stable and consistent performance. A few lower outliers appear, but overall ECNDP demonstrates the best energy efficiency with minimal variability. For U-Connect, the median energy consumption is around 0.085J, slightly higher than ECNDP. Its IQR is moderately sized, suggesting it is less stable, though it exhibits no outliers. Overall, U-Connect performs worse than ECNDP in terms of efficiency and stability.
Disco has a median of about 0.09J, higher than both ECNDP and U-Connect. Its wide IQR indicates substantial variation in energy usage, making its performance less predictable under different conditions. In general, Disco consumes more energy and is less stable.
Quorum shows the highest median energy consumption at approximately 0.095J, along with the widest IQR. Although it has no outliers, the distribution itself is highly variable, resulting in poor efficiency. Overall, Quorum performs worse than all other NDP protocols in terms of energy consumption.
Table 10 and Table 11 summarize the experimental results and the ANOVA analysis for energy consumption. While ECNDP exhibited the lowest mean energy consumption, it showed a higher variance than the other protocols. The results of the ANOVA test reveal that the differences among the protocols are not statistically significant. However, the boxplot in Figure 7 indicates that ECNDP demonstrates superior performance compared to the other protocols. Its IQR is smaller than all other surveyed NPDs, and its median energy consumption is also slightly lower than the others included.
Table 10. Energy consumption experiment summary for each protocol.
Table 11. ANOVA table for energy consumption experiment.

6. Discussion and Conclusions

Many studies have investigated energy-efficient design of NDPs in wireless sensor networks including U-Connect, Disco, and Quorum. Among these NDPs, U-Connect outperforms other NDPs according to the P L -product metric. However, U-Connect use only one prime number for the construction of discovery schedules, it supports a limited set of duty cycles. This work improves the U-Connect method by introducing a coprime-based NDP. ECNDP always guarantees the existence of a common active slot within a cycle while enhancing energy efficiency. As shown in Table 1, the results of numerical analysis clearly show that ECNDP outperforms U-Connect, Disco, and Quorum in terms of the P L -product metric.
The proposed ECNDP uses positive odd numbers, and according to Definition 2, the number of active slots is defined as ( k 1 ) / 2 + n · k , while the cycle length is defined as the product of an odd number k and a positive integer n. Any two ECNDP schedules are always mutually communicable through shared active slots between neighboring sensors. We demonstrate that, in terms of P L -products, the proposed method outperforms existing approaches under worst-case scenarios. The key advantage of the proposed approach over existing methods lies in its flexibility in selecting the discovery schedule parameters, k and n. ECNDP allows any odd value for k and any positive value for n enabling the duty cycle length to be tailored to specific application requirements. As shown in Table 4, compared to Disco, the proposed method reduces the length of the discovery cycle by up to 53% for DCs ranging from 10% to 1%. However, the difference between U-Connect and ECNDP is less noticeable, with approximate reductions of 20% for 10% duty cycle, 14% for 5% duty cycle, and 4% for 1% duty cycle. Table 3 provides examples where, for similar Duty Cycles (DCs), the proposed method generates schedules with shorter cycle lengths and greater variety compared to U-Connect.
For the evaluation of the average performance of ECNDP, experiments on latency and energy consumption were conducted using the OMNeT++ simulator. Based on the results, we conclude that the performance of the proposed approach in the average case, is at least comparable to U-Connect and Disco, and clearly outperforms Quorum. Our future work includes implementing and evaluating the proposed method in a real-world testbed environment.

Author Contributions

Conceptualization, J.-H.Y. and T.-S.S.; methodology, T.-S.S.; software, W.L.; investigation, W.L.; data curation, W.L.; writing—original draft, T.-S.S.; writing—review and editing, J.-H.Y.; supervision, J.-H.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The raw data supporting the conclusions of this article will be made available by the authors on request.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Wei, L.; Chen, Y.; Zhang, Y.; Zhao, L.; Chen, L. PSPL: A generalized model to convert existing neighbor discovery algorithms to highly efficient asymmetric ones for heterogeneous IoT devices. IEEE Internet Things J. 2020, 7, 7207–7219. [Google Scholar] [CrossRef]
  2. Sun, H.; Meng, Z.; Wang, D.; Li, H. Fedab: A low-latency energy-efficient proactive neighbor discovery protocol in MLDC-WSN. IEEE Access 2023, 11, 22843–22854. [Google Scholar] [CrossRef]
  3. Shen, Z.; Yang, Q.; Jiang, H. Multichannel neighbor discovery in bluetooth low energy networks: Modeling and performance analysis. IEEE Trans. Mob. Comput. 2023, 22, 2262–2280. [Google Scholar] [CrossRef]
  4. Han, K.; Luo, J.; Liu, Y.; Vasilakos, A.V. Algorithm design for data communications in duty-cycled wireless sensor networks: A survey. IEEE Commun. Mag. 2013, 51, 107–113. [Google Scholar] [CrossRef]
  5. Pozza, R.; Nati, M.; Georgoulas, S.; Moessner, K.; Gluhak, A. Neighbor discovery for opportunistic networking in internet of things scenarios: A survey. IEEE Access 2015, 3, 1101–1131. [Google Scholar] [CrossRef]
  6. Mehmood, G.; Khan, M.S.; Waheed, A.; Zareei, M.; Fayaz, M.; Sadad, T.; Nazri, K.; Azmi, A. An efficient and secure session key management scheme in wireless sensor network. Complexity 2021, 2021, 6577492. [Google Scholar] [CrossRef]
  7. Huan, X.; He, H.; Wang, T.; Wu, Q.; Hu, H. A timestamp-free time synchronization scheme based on reverse asymmetric framework for practical resource-constrained wireless sensor networks. IEEE Trans. Commun. 2022, 70, 6109–6121. [Google Scholar] [CrossRef]
  8. Meng, C.; Yan, X.; Guo, L.; Sun, Z.; Wang, P. An energy-efficient asynchronous neighbor discovery algorithm based on cyclic difference set in duty-cycle wireless sensor networks. J. Netw. Comput. Appl. 2024, 226, 103854. [Google Scholar] [CrossRef]
  9. Dutta, P.; Culler, D. Practical asynchronous neighbor discovery and rendezvous for mobile sensing applications. In Proceedings of the 6th ACM Conference on Embedded Network Sensor Systems, Raleigh, NC, USA, 5–7 November 2008; pp. 71–84. [Google Scholar]
  10. Kandhalu, A.; Lakshmanan, K.; Rajkumar, R. U-connect: A low-latency energy-efficient asynchronous neighbor discovery protocol. In Proceedings of the 9th ACM/IEEE International Conference on Information Processing in Sensor Networks, Stockholm, Sweden, 12–16 April 2010; pp. 350–361. [Google Scholar]
  11. Mehmood, G.; Khan, M.Z.; Bashir, A.K.; Al-Otaibi, Y.D.; Khan, S. An efficient QoS-based multi-path routing scheme for smart healthcare monitoring in wireless body area networks. Comput. Electr. Eng. 2023, 109, 108517. [Google Scholar] [CrossRef]
  12. Khan, S.; Iqbal, W.; Waheed, A.; Mehmood, G.; Khan, S.; Zareei, M.; Biswal, R.R. An efficient and secure revocation-enabled attribute-based access control for eHealth in smart society. Sensors 2022, 22, 336. [Google Scholar] [CrossRef] [PubMed]
  13. Huan, X.; Chen, W.; Wang, T.; Hu, H. A Microsecond energy-efficient LoRa time synchronization based on low-layer timestamping and asymmetric time translation. IEEE Trans. Veh. Technol. 2024, 73, 7328–7332. [Google Scholar]
  14. Lee, W.; Youn, J.-H.; Song, T.-S. Asymmetric wake-up scheduling based on block designs for Internet of Things. Ad Hoc Netw. 2024, 162, 103530. [Google Scholar] [CrossRef]
  15. Chen, W.; Tang; Cui, F.; Chen, C. Research on Energy Harvesting Mechanism and Low Power Technology in Wireless Sensor Network. Sensors 2024, 24, 47. [Google Scholar] [CrossRef] [PubMed]
  16. Dogra, R.; Rani, S.; Gianini, G. REERP: A Region-Based Energy-Efficient Routing Protocol for IoT Wireless Sensor Networks. Energies 2023, 16, 6248. [Google Scholar] [CrossRef]
  17. Zheng, R.; Hou, J.C.; Sha, L. Optimal block design for asynchronous wake-up schedules and its applications in multihop wireless networks. IEEE Trans. Mob. Comput. 2006, 5, 1228–1241. [Google Scholar] [CrossRef]
  18. Jiang, J.; Tseng, Y.-C.; Hsu, C.-S.; Lai, T. Quorum-based asynchronous power-saving protocols for IEEE 802.11 ad hoc networks. Mob. Netw. Appl. 2005, 10, 169–181. [Google Scholar] [CrossRef]
  19. Shah, S.M.; Sun, Z.; Zaman, K.; Hussain, A.; Ullah, I.; Ghadi, Y.Y.; Khan, M.A.; Nasimov, R. Advancements in Neighboring-Based Energy-Efficient Routing Protocol (NBEER) for Underwater Wireless Sensor Networks. Sensors 2023, 23, 6025. [Google Scholar] [CrossRef] [PubMed]
  20. Tseng, Y.-C.; Hsu, C.-S.; Hsieh, T.-Y. Power-saving protocols for IEEE 802.11-based multi-hop ad hoc networks. In Proceedings of the Twenty-First Annual Joint Conference of the IEEE Computer and Communications Societies, New York, NY, USA, 23–27 June 2002; pp. 200–209. [Google Scholar]
  21. Zheng, R.; Hou, J.C.; Sha, L. Asynchronous wakeup for ad hoc networks. In Proceedings of the 4th ACM International Symposium on Mobile Ad Hoc Networking Computing, Annapolis, MD, USA, 1–3 June 2003; pp. 35–45. [Google Scholar]
  22. Niven, H.L.I.; Zuckerman, H.S. An Introduction to the Theory of Numbers; John Wiley and Sons: Hoboken, NJ, USA, 1991. [Google Scholar]
  23. OMNeT++ Home Page. Available online: http://www.omnetpp.org (accessed on 10 August 2024).
  24. Kochhar, A.; Kumar, N. Wireless sensor networks for greenhouses: An end-to-end review. Comput. Electron. Agric. 2019, 163, 104877. [Google Scholar] [CrossRef]
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.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.