Abstract
The development of wireless sensor and actuator network is leading to high complexity networks and subsequently, new challenges in task assignment for effective sensor–actuator coordination. This article proposes an adaptive auction protocol for task assignment in multi-hop wireless actuator networks, considering a scenario where all actuators are immobile and each of them can obtain the target information from sensors. Unlike existing methods that neglect the adaptive auction area required by dynamic networks, the proposed method uses an adaptive factor
Introduction
Wireless sensor networks (WSNs) consist of hundreds of low-cost, low-power, and multi-functional micro-sensor nodes with sensing, processing, and wireless communication capabilities. 1 The applications of WSNs include a diverse spectrum, for example, surveillance, tracking of military units, prediction of natural disasters, home automation, health care, and traffic control.2–8 A network consisting of sensors and actuators, known as wireless sensor and actuator network (WSAN) is regarded as an extension of WSN. In WSANs, actuators can interact with the physical world, make autonomous decisions, perform the corresponding actions based on data gathered by sensors, and shared information. 9 However, the sensors are simple devices limited by battery power, processing power, memory, and communication constraints, while the actuators are devices with higher capabilities.
Task assignment in WSNs can increase the system efficiency by allocating tasks according to the ability of nodes. In this article, a task assignment algorithm is proposed to find an optimal actuator to respond to a target, such as humans, moving vehicles, and fire. The optimal actuator has the highest reward and minimal cost to respond to the target among all the actuators. Most existing solutions for task assignment are centralized solutions with a direct or a multi-hop communication topology. The advantage of centralized solutions is that a central node collects and compares the whole network data, and then an optimal actuator can be found with certainty. However, the presence of a large number of actuators and cooperation between them cause significant delay and energy consumption and lead to faults if the topology is incomplete. On the contrary, a localized solution that uses locally available information can select an optimal actuator even with incomplete topology. The advantage of a localized solution is good scalability and fault tolerance. In addition, although the selected actuator may not be the optimal one in the whole network region, it is normally close to the optimal one.
Auction protocol is one of the localized solutions for solving task allocation problems in multi-actuator systems. This protocol is flooding based and each actuator in the auction retransmits auction request and responds to the auctioneer. Subsequently, the auctioneer selects the optimal actuator with the highest reward which means high efficiency and low-energy cost. The issue of cooperation between actuators has been studied in Mezei et al., 10 Fatemi et al., 11 Kim and Matson, 12 Geyik et al., 13 and Panchu et al. 14 These literatures use appropriate mechanisms to find the optimal actuator in a particular application scenario with fixed network parameters. However, they ignore that the network parameter is time-varying in some scenarios. Through these references, it can be found that the auction area not only determines the energy consumption and time delay but also influences the probability of selecting the optimal actuator. Normally, a specific network needs a corresponding k (the number of hops of the auction), which represents the auction area needed to achieve the optimal protocol performance. In some military scenarios, the actuators are vulnerable and easily lose efficiency or the antenna power needs to change with the actuator density to maintain a balanced coverage. Therefore, it is necessary to adjust the value of k to compensate for these changes in the network.
In this article, our contributions can be outlined as follows:
For the changeable network, we propose a localized adaptive solution called adaptive auction protocol (AAP), which can dynamically adjust the auction area, so that the protocol can select an actuator with the highest reward to take action on a target according to different network parameters.
Through simulations, we summarize the relations between the factor k and each parameter affecting the performance of the AAP and integrate these parameters into an approximate formula to calculate the appropriate auction area.
We analyze the AAP with three representative algorithms: simple auction protocol (SAP), 1 hop simple auction aggregation protocol (1-SAAP), 15 and 1 hop simple auction aggregation protocol greedy extension (1-SAAPG) 16 The simulation results show that the adaptive protocol is more flexible and stable, because it can change the auction area with the changing network and can always select the optimal actuator having relatively low communication cost (the number of communications) with a high probability.
This article is organized as follows. Section “Related works” describes related work and section “Network model” introduces the network model and the task sequence model. Section “AAP” presents the proposed algorithm and the three phases of AAP. In section “Performance evaluation,” a formula of the adaptive parameter k is deduced and the performance of AAP and its comparison with existing methods are discussed. Finally, the conclusion is presented in section “Conclusion.”
Related works
Multi-actuator task allocation
Various task assignment algorithms have been proposed for multi-robot systems, WSNs, unmanned aerial systems (UAS), and cooperation of multi-actuators. These algorithms can be classified into three types: centralized, decentralized, and hybrid. In the centralized algorithms, a central node is responsible for global data collection and processing. In the decentralized algorithms, each node is assigned tasks based on its neighbors’ data. In the hybrid algorithms, the network is divided into multiple clusters managed by a cluster header, but the cooperation between clusters is decentralized.
In Okhovvat et al., 17 the authors consider both energy savings and time constraints of WSANs and propose two centralized algorithms for task allocation based on queuing networks. However, the algorithms only consider the load of the actuator, and its adaptability to perform a task is not taken into account. In Liwei et al., 18 a centralized algorithm is proposed that considers cross-entropy (CE) and the required resources for task allocation for unmanned aerial vehicles (UAVs). The algorithm is extended for solving complicated combinatorial optimization problems. Sample selection and adaptive parameter settings can further optimize this algorithm; however, a few issues remain unresolved.
Capitan et al. 19 propose decentralized algorithms in multi-robot system. These algorithms use partially observable Markov decision processes (POMDPs) to lower the dependence between individual decisions and hence, lower the complexity. Two application examples show flexibility and robust coordination of the algorithms.
In Coltin and Veloso, 20 three algorithms for assigning mobile robots to events in hybrid WSNs are discussed: a centralized algorithm, an auction-based algorithm, and a distributed approach that uses a spanning tree of the network. The results show that the tree-based algorithm has a low communication cost and a high expected network lifetime at the expense of assignment quality. However, when the scale of the sensors network increases, this algorithm suffers from significant delays.
Mezei et al. 15 propose five different auction aggregation protocols for task assignment in multi-hop wireless robot networks. A robot collector leads an auction and initiates a tree network by transmitting the search message. Each robot decides whether to retransmit a search message up to k-hops away. Then, the robots aggregate the best bid responses to the robot collector. However, to reduce the size of the aggregation tree, the protocol has to provide positions, costs, and availabilities of all the neighbors of each robot, which requires additional communication resources.
In Feng et al., 21 a hybrid task algorithm based on score incentive mechanism (TASIM) for complex task execution in WSNs is proposed. Sensor nodes are ranked based on their residual resources and services capacities. Simulations show that the algorithm narrows the area of working nodes and balances the energy consumption. However, as the task allocation on the cluster head is centralized, it will quickly deplete its energy. Although the task migration in TASIM mitigates the problem of excessive energy consumption by the cluster head, it is still not completely solved.
Auction-based algorithms
Auction algorithms have been widely used for optimal task allocation in various fields such as multi-robot systems, sensor networks, and WSANs. In Lee et al., 22 a resource-oriented decentralized auction algorithm (RODAA) for multi-robot task allocation is proposed. The energy that a robot consumes while performing tasks is considered as a resource. An application for cleaning a solar panel based on the multi-robot system is proposed. Simulation results show that the algorithm has lower overall resource consumption compared with other auction-based task allocation algorithms. However, each auction needs to broadcast to the entire network. This kind of auction still uses significant energy resources. A partial auction algorithm can be used to economize energy.
Lukic et al. 23 describe two distributed dispatch algorithms for the task assignment problem in wireless sensor and robot networks. Auction is used in these algorithms to make better decisions. Simulations show that the proposed algorithms extend the system lifetime and decrease the communication cost.
Choi et al. 24 present a consensus-based auction algorithm. It utilizes a decentralized auction method that has no auctioneer for conflict resolution. Each agent places a bid on each task and stores winning bids throughout the assignment process. Results show that this algorithm guarantees 50% optimal solutions of the time.
In Zheng et al., 1 an auction-based adaptive sensor activation algorithm for target tracking in the WSNs is proposed. The algorithm is used to choose cluster members in a predicted region. Simulation results show good performance in terms of quality of tracking, energy efficiency, and network lifetime.
In Mezei et al., 10 auctions are used to improve energy efficiency and lifetime of the network. The localized auction aggregation protocol (k-SAAP) is used to improve the basic information mesh protocol. Simulation results show the proposed algorithm guaranties 100% efficiency for finding the closest actuator in some scenarios.
In Mezei et al., 16 a new algorithm is proposed that improves the auction aggregation protocols proposed in Mezei et al. 15 Based on initial task assignment, the assigned actuator initiates another 1-hop auction to explore if any of its neighbors have a better reward. Simulation results show that the improved algorithm has acceptable additional communication cost, especially in networks with low values of k hop.
Network model
In this article, we consider a military application to evaluate the performance of the proposed protocol. The model of a military system is shown in Figure 1. The system is composed of a large number of sensor nodes and several actuators. The sensors can transmit the perceived target information to their nearby actuators. The actuator is a type of weapon with a certain radius of attack, referred to as the execution radius in the figure. An actuator can know the target location accurately based on the sensor reports. The actuator acts if a reported target appears within its execution radius.

The model for the WSAN.
The graph model for the network is a unit disk graph (UDG) model. All actuators have the same communication radius
Important notations used in this article are given in Table 1.
Notations.
AAP
The proposed protocol consists of two parts: The first part is the protocol process that is described in section “Auction protocol process.” The second part is the calculation of adaptive factor k, which is described in section “Selection of ko.”
Auction protocol process
The protocol process has three phases: (1) auction generation, (2) transmission of auction, and (3) authorization and execution. The main process and the three phases are shown in Figure 2. In the following subsections, we describe each of these phases in detail.

Illustration of three phases in the protocol process.
Auction generation
In auction generation, there are two main preconditions: First, a target appears in the network and actuators get its location via the sensors. Second, each actuator knows its own location before a target appears. Based on these two preconditions, each actuator knows the location of other actuators through multi-hop connection, and each actuator can judge whether it is closest to the target or not.
When a target appears, the actuator closest to it generates auction and transmits an auction packet to other actuators located within k-hops. An illustration is shown in Figure 3(a). Actuator A, being closest to the target, generates an auction to its neighboring actuators B, C, and D. Normally, the optimal actuator is close to the target in most cases. Therefore, by selecting the actuator closest to the target helps in finding the optimal actuator within a small area around the selected actuator. The generation process is shown in Figure 3(b).

(a) Actuator A is closest to the target and generates auction and (b) the process of auction generation.
An auction contains only one target. If more than one target appears, all targets will be dealt with one by one with the short duration auction.
The auction packet contains the following fields, as shown in Figure 4: k refers to the maximum hop count in the auction,

Fields in the auction packet.
The selection of an optimal k, denoted as
As the actuator can only perform a task once, the actuator with lowest power is given priority to perform a task, if other parameters of different actuators are the same. Similarly, the actuator that is the closest to the target should be given priority, because such an actuator can execute a task better. The actuator that has a high number of neighboring actuators should be given a lower priority, that is, an actuator with no neighbors is the first one to execute a task, because it causes the least damage to the network connectivity. Based on these relations, we define
where
The number of neighboring actuators is
The spread of auction
After an auction is generated, the auction packet will be spread between the actuators. There are two types of auction spread, forward and inverted. The spread process is shown in Figure 5 and an illustration is shown in Figure 6.

The process of auction spread.

An illustration of auction spread.
As shown in Figure 6, actuator A is the auctioneer, and actuators B, C, and D are its children located at
The packet records the current hop
where
When
In this way, the communication cost can be minimized, and each actuator can select the largest
Authorization and execution
The Route field in the message is recorded with the
The authorization process is shown in Figure 7 and an illustration is shown in Figure 8. As shown in Figure 8, actuator A finds from the received bids that actuator H is the optimal actuator to perform the attack. Then, it sends the authorization message to the winner along the routes shown by the dotted lines.

The process of auction authorization.

An illustration of auction authorization.
Selection of
From section “Auction protocol process,” it can be observed that k represents the auction area and the duration of auction is primarily determined by
We use the OMNet++ simulation tool. In the simulation, we consider a real military system scenario, and all simulation parameters can be achieved by existing hardware. All actuators are uniformly distributed in an area and a target can appear anywhere in the coverage area. The residual power of the actuators is distributed uniformly. Other network attributes are listed in each subsection.
Two metrics are used to evaluate the performance with respect to k: (1) number of communications that represents the communication cost in the auction and (2) optimal probability P which represents the probability of selection of the optimal actuator by the auction. The optimal probability P is calculated as the ratio
Impact of auction hop count k
In the simulations of this subsection, the simulation area is a two-dimensional (2D) space square with dimensions 500 × 500 m2. The radii of actuator communication
The results are shown in Figure 9. When k ≤ 4, the optimal probability increases with k and then becomes constant at a value of 86%. However, the number of communications increases almost linearly with the increase of k. We can note that there is an optimal k that is suitable for this network, that is, k = 4. With the optimal k, the auction can reach the maximum optimal probability at a relatively low consumption cost.

The impact of different values of k on the optimal probability and number of communications.
Impact of density and
The relationship between the actuator density and k is explored in this subsection. The deployment area is again set to 500 × 500 m2, and
The results in Figure 10 show that a small

The optimal probability versus varying number of actuators for different values of
Impact of
and
In this subsection, the simulation area is set to 500 × 500 m2,
Figure 11 shows that the optimal probability decreases slightly with the increase in

The optimal probability versus varying execution radii for different values of k.
Relation between
and
In the following simulations, the deployment area is set to 500 × 500 m2,
Figure 12 shows that the optimal probability increases with the communication radius. For a small k, a large communication radius is needed to achieve a high optimal probability, and vice versa. Therefore, it can be concluded that

The optimal probability versus varying communication radii for different values of
Calculation of
The above equation means that the optimal value
Based on the simulations with different values of k, we can obtain values of
The probability of optimal task allocation for different values of
Based on the simulations described in the previous subsections, we can conclude that a changing
Based on multivariable non-linear curve fitting method, we devise a formula of
where
where N is the total number of actuators and S is the area of actuator distribution.
For further determining the value of
As
Performance evaluation
In this section, we evaluate the performance of the proposed protocol in two scenarios: (1) We simulate the scenario of a target appearing randomly and actuators being consumed constantly. The AAP is compared with 1-SAAPG, 16 SAP, and 1-SAAP 15 under this scenario. (2) As the antenna power is variable in some applications, we analyze the performance of AAP in networks with different communication radii and again compare it with SAP, 1-SAAP, and 1-SAAPG. We consider two scenarios.
Fixed communication radius
In the first scenario, the 2D space in the simulation is a square of dimensions 500 × 500 m2. Different targets randomly appear in this space for a total of 340 times one by one. There are 350 actuators, execution radius is 200 m, and communication radius is 100 m. After an auction of a target, the selected actuator will attack the target and become unavailable. Simulations are generated 10 times and results are averaged over all the simulations. We measure the value of k, the number of non-optimal assignments, the total number of communication cost, and the average communication cost per actuator.
The number of non-optimal assignments represents the number of auctions that do not select the optimal actuator. The total number of communication cost represents the cumulative number of communications between actuators in 340 auctions after target appears 340 times. The average communication cost per actuator equals the number of communications cost per auction divided by the number of surviving actuators.
It can be seen in Figure 13 that k changes during the auction. A target appearance means that one of the actuators is used, and hence the network density will decrease with the appearance of targets. The decrease of density will lead to a higher number of hops, as the actuators will be far from one another. The change of k demonstrates that the AAP area can vary during the simulation. The value of k keeps on increasing as long as the network remains in operation.

Change in k during simulation.
Figure 14 presents a comparison between the proposed and existing techniques, in terms of the cumulative number of non-optimal assignments versus the target number. The results show that the 1-SAAP has the most non-optimal assignments and the SAP has the least non-optimal assignments. The reason for this behavior is that the SAP attempts to use information of the whole network, whereas the 1-SAAP only uses the 1-hop neighbor information. In the 1-SAAPG, the 1-hop neighbor information is used and the search for a better assignment is carried out in the next 1-hop. Therefore, the number of non-optimal assignments in 1-SAAPG is larger than that in the SAP and smaller than that in the 1-SAAP. However, the AAP uses the values of k from one to five and obtains results similar to the 1-SAAPG.

Cumulative non-optimal assignments versus target number.
Figure 15 shows the average communication cost per actuator averaged over every ten auctions. As the SAP uses the whole network information, the actuators communicate twice per auction. After the appearance of several targets, many actuators are consumed. As a result, the actuator density decreases and the network cannot be fully connected, which results in some actuators being unable to participate in the auction. As the 1-SAAPG always uses one more hop information than the 1-SAAP, the average communication cost for the former 1-SAAPG is always larger than that for the latter. The AAP uses changeable k and, therefore, the average communication cost is initially similar to that of the 1-SAAP. Subsequently, the cost becomes similar to the cost of the 1-SAAPG, and finally it increases and is in between the cost of the 1-SAAPG and SAP.

Average communication cost per actuator versus the target number.
Figure 16 shows the total communication cost after the appearance of 340 targets. The SAP has the maximum cost and the 1-SAAP has the minimum cost. The communication cost in AAP is between those of the 1-SAAP and 1-SAAPG. This result is consistent with the average communication cost, as shown in Figure 15. Comparing Figures 14 and 16, we can observe that the SAP gives the least number of non-optimal assignments with very high communication cost. The 1-SAAP has the least communication cost and the highest number of non-optimal assignments, which is at least 14 averaged points larger than the other algorithms. Actually, optimal assignment and communication cost are both important in the auction. The 1-SAAP and SAP show that considering only one indicator leads to a sharp decline in other indicators’ performance. However, the communication cost in the AAP is three times larger than that in the 1-SAAP, and the AAP obtains 14 times decrease in the number of non-optimal assignments. In contrast, the SAP has ten times less non-optimal assignments, but the communication cost in SAP is over 27 times larger than that in the AAP. Although the AAP has a higher communication cost than the 1-SAAP, it is acceptable due to an increase in the number of optimal assignments. Moreover, the number of non-optimal assignments for both AAP and 1-SAAPG are similar, but the communication cost of the former is nearly half the latter’s communication cost. To sum up, thanks to the optimal factor

Total communication cost for different methods.
Variable communication radius
In the second scenario, we evaluate AAP in the networks with different communication radii. The communication radius
Figure 17 shows that the SAP has the lowest number of non-optimal assignments and the 1-SAAP has the highest number of non-optimal assignments for all values of

Number of non-optimal assignments versus varying
However, taking the communication cost shown in Figure 18 into consideration, the AAP and 1-SAAP have similar performance as the SAP and 1-SAAPG in terms of number of non-optimal assignments, at a significantly lower communication cost. Therefore, we can conclude that the AAP and 1-SAAP are better choices when

Total communication cost versus varying
Conclusion
This article proposed a task assignment algorithm for a WSAN model in a military scenario. The AAP can be used to select an optimal actuator and assign the tasks in an adaptive auction area. We developed a formula for the adaptive factor used in the AAP. Through simulations, the relations between different characteristics of the WSAN, such as the actuator density, communication, and execution radii, execution range, and the protocol performance were presented. Furthermore, the performance of AAP was compared with three existing algorithms: 1-SAAP, 1-SAAPG, and SAP. Simulation results showed that thanks to the use of adaptive factor, the AAP can always maintain the optimal performance in the applications with the number of actuators being consumed or variable communication radius when both communication cost and number of optimal assignments need to be optimized.
Footnotes
Acknowledgements
The author would like to thank the anonymous reviewers for their valuable comments and suggestions to improve the quality of the article.
Handling Editor: Mohammad Hossein Anisi
Author contributions
L.W. was involved in conceptualization, methodology, validation, formal analysis, investigation, resources, and writing-original draft preparation; J.K. and M.L. were involved in writing-review and editing; K.Y. and M.L. were involved in supervision; and M.L. and C.J. contributed to funding acquisition
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) received no financial support for the research, authorship, and/or publication of this article.
