Abstract
1. Introduction
Wireless sensor networks (WSNs) have emerged as an essential technology for monitoring and exploring remote, hostile, and hazardous environments. WSNs have been deployed widely in several applications including military, medical, safety, and environment monitoring [1–6]. A WSN is a collection of sensor nodes organized into a cooperative network. Sensor nodes are small in size, are low in cost, and have short communication range. Usually, a sensor node consists of four subsystems which are as follows:
a computing subsystem: it is responsible for main functions such as processing the communication protocols and control of onboard sensors; a sensing subsystem: environment characteristics are sensed through a wide range of sensors (temperature, humidity, light, gas, etc.); a communication subsystem: it is a short radio range used to communicate with neighboring nodes; a power supply subsystem: it includes a battery source that feeds computing, onboard sensors, and communication subsystems.
In environment monitoring application, sensor nodes are deployed to sense and collect data from surrounding environment and forward them to a sink node. With sensor networks technology, sensor devices can be deployed close to the phenomenon which must be observed and measurements collected from nodes’ onboard sensors. Since the sensor nodes are physically small, are battery-operated, and contain a tiny wireless radio, deploying such a WSN disturbs the environment minimally and reduces the installation and maintenance costs. Furthermore, the inexpensive nature of these devices attracts scientists to place a high resolution node grid in the field and obtain frequent measurements, providing an extremely rich data set.
In most environmental monitoring applications, sensor nodes collect information from the monitored site and transmit data through energy-expensive multihop wireless communications to a single base station, in which the base station makes the collected data available for offline data analysis. It is unrealistic to deploy end-to-end environmental monitoring WSN over a large geographic area, as a large number of packets required to multihop data collection. Sending high-fidelity sensed data in a multihop manner would prohibitively consume energy of the static sensor nodes in the relaying path which would in turn, over time, cause exhausting sensor nodes. This is because every single packet has to be forwarded multiple times on the routing path to reach the sink node.
In order to address the energy consumption issue, a diverse number of approaches have been proposed. The most widely used sensor network architecture consists of a single sink node and distributed sensor nodes placed over the environment, in which the sink node may be placed at the edge or center of the network and initiates data collection. Each sensor node collects sensed data from the monitored site and transmits data through energy-consuming multihop wireless communications. However, this approach requires high forwarding of sensed data to the nodes in the vicinity of the sink node, which in turn consumes energy more frequently and may reduce the sensor nodes’ lifetime. Another approach includes deploying a mobile robot (MR) for data gathering; robotic assistance reduces the energy consumption on the data collection paths by eliminating the need to transmit large number of sensed data through multihop communication, where this approach offers low power consumption by eliminating the need for multihop data communication; however, an additional effort is required on the design and implementation of MR system; in addition, MR systems are inadequate for some applications.
This paper addresses the area of energy-efficient data gathering in WSNs consisting of sensor nodes deployed in a large area. A new architecture has been proposed to reduce the power consumption, hence extending the ZigBee WSN lifetime, which in turn provides greater network usability. The proposed architecture is based on adopting a new ZigBee based clustering algorithm, and a MR system, in which the sink node serves as an entry point of the ZigBee WSN that enables users of the network to interact with collected data from static sensor nodes. The sink node keeps the data for offline study and analysis in addition to logs of event occurrence. The main contributions of this paper are as follows:
A new ZigBee based clustering algorithm is proposed, in which router nodes in ZigBee network are clustered to minimize the number of exchanged packets. A MR system is proposed and implemented; MR collects the sensed data from static nodes, based on two energy threshold systems. Unlink the existing approaches which mainly focus on simulation experiments; a new energy-efficient approach is introduced practically using XBee sensor nodes.
The rest of the paper is organized as follows. The relevant works are presented in Section 2. In Section 3, the system model is presented and discussed. Section 4 presents the simulation and experimental test-beds used to test the efficiency of the proposed model, in addition to results obtained from simulation and real experiments. And finally, Section 5 presents a conclusion and future works.
2. Related Work
In this section, the related works in the areas of tiered architecture (clustering) and mobile sink and a combination of these two approaches (tiered architecture and mobile sink) are discussed.
First, the tiered WSNs are designed to facilitate the operation of large sensor systems. In tiered WSNs, sensor nodes are grouped and organized in a hierarchical manner. Nodes at the top layer generally have more resources (i.e., computing power, storage, and processing) and assist the network to perform coordinating functions for data gathering, while nodes at lower layers mainly perform sensing and data forwarding functions. A number of clustering approaches have been designed and implemented recently, driven by the need to achieve low power consumption for tiny sensor nodes with the best delivery rate. A various number of clustering algorithms are summarized in [7, 8].
In this paper, clustering through ZigBee network is considered, when the three roles exist (coordinator, router, and end-device). The implementation of clustering algorithms through ZigBee network has received less attention. In [9], authors focused on the performance of a clustered ZigBee WSN with data fusions. Authors of [10] developed a clustering algorithm for ZigBee WSN, where a hybrid routing algorithm based on weighted clustering for load-balancing network energy was proposed. The work presented in [11] includes a clustering method for ZigBee sensor nodes, which performs wide range data transferring depending on the signal strength of sensor nodes, to transfer data reliably to the sink node.
Second, the mobile sink (mobile data collector) approach is considered. This approach includes the use of mobile elements for data collection. Mobile elements have been deployed in a number of WSN applications, to enhance the coverage and operation of the network. A mobile element may move through the distributed sensor nodes in the area of interest and collect the sensed data from stationary sensor nodes instead of forwarding the collected data to a sink node. A survey on sink mobility models in WSNs is presented in [12].
In [13], authors proposed a two-tiered multihop hybrid WSN architecture, where static sensor nodes collect high-fidelity data and robots act as mobile data collectors traversing the area of interest. This architecture reduces the amount of energy consumed from wireless communications. In [14], the authors explored cooperation among MRs and WSNs in environmental monitoring in which robotic data mules collect measurements gathered by sensor nodes.
A novel sink mobility model derived from De Bruijn graph was proposed in [15]; the proposed model combines the use of single hop and multihop communication to collect data from static sensor nodes. The performance was studied in terms of end-to-end delivery and data success rate. In [16] authors investigated the effect of using mobile sinks for data gathering through WSNs. Authors first studied the improvement in network lifetime, and then a distributed and localized solution was proposed to decide sink's movement when the movement path is not predetermined. Authors of [17] proposed a new framework for using a mobile sink to improve the network lifetime and its effectiveness in applications that can tolerate a certain amount of delay in data delivery.
Third, the integration of the aforementioned schemes (cluster and MR) is considered, in which clustering is required at the first stage, and then a MR is deployed to collect the observed data from subsink nodes. A novel data collection algorithm using MR was proposed in [18], in which two control approaches were proposed for identifying the locations of partitioned WSNs: global-based and local-based. On the other hand, the work presented in [19] includes a framework consisting of transmit-only sensors which are low in cost and require less energy than regular sensors due to the absence of receiver circuit and a mobile element for data collection. However, transmit-only sensors cannot receive or forward data, and therefore they are inadequate in homogenous networks.
As noticed above, a few number of clustering systems have been implemented through ZigBee protocol and most of the existing works focused on simulation studies. In this paper, a new energy-efficient gathering system for ZigBee WSN is proposed and tested through both simulation and real experimental studies.
3. Energy-Efficient Data Collection Architecture
In this section, the communication protocol deployed in the real experiments is discussed, and then the proposed system is overviewed.
3.1. ZigBee Communication Protocol
ZigBee is a low power, low data rate, and low cost wireless communication standard and aims to be used in home automation, remote control, and sensor applications. ZigBee network standard performs three main roles: coordinator, router, and end-device. A single coordinator is required for each ZigBee network; it has a unique Personal Area Network Identification (PAN ID) and a channel number. ZigBee coordinator initiates the network formation and may act as a router once a network is formed. ZigBee network may have more than one router, in which router may associate with ZigBee coordinator or/and with other ZigBee routers. ZigBee router associates in multihop routing of messages, and, finally, ZigBee end-device is an optional network component which is utilized for low power operations and does not allow association nor participation in routing [20]. Figure 1 presents the architecture of a ZigBee network and presents the three roles discussed above.

An example of a ZigBee WSN with three roles presented.
3.2. System Overview
The architecture of the system under consideration is presented in Figure 2. The root denoted that the sink is the base station of the WSN and is the coordinator of the ZigBee network. Each node (router and end-device) excluding the root is a sensor node deployed in the field of interest. The locations of sensor nodes are predetermined using Global Positioning System (GPS) or other location aware systems. Router nodes have a large memory size and energy compared to end-device nodes in order to collect and process sensed data. In this architecture, ZigBee WSN is divided into small groups (clusters), in which each cluster consists of a number of sensor nodes, and each sensor node has the ability to detect the desired information from the surrounding environment and forward the collected data to a cluster-head (CH).

The partitioned ZigBee WSN.
The system definition is given as an illustration as presented in Figure 2. Nodes
In normal situations, as soon as the network starts, each router node collects the sensed data from its end-device nodes and forwards them using multihop communication to a sink node. Through experiments discussed later in this paper, it was demonstrated that router nodes located close to the sink node will drain their energy fast, compared to the router nodes placed away from a sink node. In the above example, router node
As a result, a new clustering algorithm for ZigBee WSN is proposed in this paper, in which the sensor nodes are distributed into clusters; a CH collects the sensed data from sensor nodes in its range and then forwards them to a sink node. This approach will minimize the power consumption for sensor nodes placed away from a sink node; however, the proposed clustering system does not trim down the energy consumption for sensor nodes placed close to the sink, because they participate in forwarding and routing sensed data to the sink node. For that reason, to minimize the power consumption for such nodes, an additional energy saving approach may be adopted, in which the sensed data may be gathered using MR system in order to reduce the power consumption for the sensor nodes located close to the sink node.
3.3. Clustering Approach
Through clustering approach, sensor nodes are divided into a number of clusters, in which each cluster consists of a number of router nodes (2–4), where each router node may have a number of end-device nodes connecting to itself in one hop communication. A router node collects the sensed data from its end-device nodes and aggregates and transmits it to a CH. The CH collects the sensed data from other routers in its cluster and further aggregates the collected data and then forwards them to a sink node. The clustering approach consists of four main phases as follows:
Initialization: this includes dividing the WSN into groups (usually, each group consists of 2–4 routers and a number of end-device nodes). Selection of a CH: in a cluster Data collection: CH will request the sensed data from the sensor nodes in its cluster and aggregate the collected data. Transmission to sink node: the aggregated sensed data will be transmitted from a CH to the sink node through multihop communication.
The initialization phase is quite simple, since each group of router nodes placed close to each other will consist a single cluster. This phase is repeated till each router in the ZigBee network is assigned to a single cluster. Algorithm 1 presents the division process.
(1) (2) (3) (4) (5) (6) (7) (8) system checks the first router node set close to the start point and has not been assigned to any cluster (9) repeat (6–8) till each router node belongs to a single cluster (10)
In the second phase, the selection process has taken place, in which a CH is elected based on three factors, as follows:
Residual energy ( Number of hops ( Total number of end-device nodes (
In order to enhance the selection process, a weight value is assigned to each factor, which presents its significance. The weight values were carefully calculated through real experiments, to obtain the impact of each factor on the power consumption.
The number of hops (

Estimating the power consumption for transmitting 30 packets through (1, 2, and 3) hops.
On the other hand, the weight value for the total number of end-device nodes (

Estimating the power consumption for transmitting 30 packets with different packets sizes (22, 24, 26, and 28) bytes.
In order to balance energy in all router nodes, a weight value for residual energy (
Weight values for the three factors.
The energy (
(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (11) (12) (13)
(1) (2) (3) (4) (5) (6) (7) the router node (for instance (8) (9)
3.4. Mobile Robot System
Clustering methods may reduce the power consumption for router nodes in the ZigBee network; however, router nodes located close to the sink node will drain their energy first compared to the router nodes located away from the sink node. In order to address this issue, two threshold-energy systems have been proposed and implemented, in which each CH has two thresholds defined in advance: the values of the remaining energy of near-drain
To discuss the energy thresholds more precisely, in the first case when a CH (e.g.,
(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (11) MR obtains information of partitioned WSN from the sink node (12) (13) (14) (15) MR collects sensed data from near-drain router node (16) MR brings these data back to the sink node (17) (18) (19)
In the second case, when any near-drain CH (e.g.,
(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (11) (12) (13) As soon as MR visits (14) MR moves to a sink node and offloads the collected data (15) (16)
4. Experimental Results
In order to test the efficiency of the proposed system in this paper, the experimental test-bed was carried out through two stages. The first stage involves testing the proposed approach using NS2 network simulator, whereas in the second stage real experiments were conducted using XBee modules.
4.1. Simulation Experiments
A number of simulation experiments were carried out to evaluate the proposed system. For evaluation purposes, relevant parameters have been collected from actual sensor devices and inserted into simulation runs. The simulation environment of the area of the geographical region is 140 m × 160 m as presented in Figure 5, in which it consists of 71 nodes distributed as follows: 1 coordinator, 12 routers, and 58 end-device nodes. Table 2 presents the simulation parameters.
Simulation test-bed parameters.

Simulation test-bed.
4.2. Simulation Results
In order to evaluate the efficiency of the proposed system, four main scenarios were considered, as follows: (1) end-to-end scenario, in which each sensor node transmits its sensed data directly to a sink node; (2) cluster-based scenario where each local-sink (CH) collects and aggregates the sensed data from its child nodes and transmits it to a sink node; (3) MR scenario
For the above four scenarios, the total number of transmitted packets, the power consumption for CHs, and the delivery rate are estimated. The total numbers of messages transmitted in end-to-end, cluster, and MR systems
The total number of packets transmitted in the whole network is evaluated in Figure 6, in which the total number of packets transmitted by local-sinks in Scenario 1 is the highest, since every single packet transmitted by child nodes must be forwarded to the sink node via multihop communication. However, in Scenario 2, the number of transmitted packets is less than that in Scenario 1, as the received packets by each CH must be grouped and aggregated before being transmitted to a sink node.

The total number of packets transmitted in the ZigBee WSN for the four scenarios.
In MR scenario
According to the obtained simulation results in Scenarios 1 and 2, local-sinks (CHs) drain their energy first, and therefore the WSN will be inaccessible shortly. However, in Scenarios 3 and 4 local-sinks will last for long time compared to Scenarios 1 and 2. This is because, in Scenario 3, local-sinks participate only in gathering the sensed data from child nodes and then transmit the sensed data to MR, whereas, in Scenario 4, local-sinks may only transmit the sensed data to MR.
The total number of packets transmitted by each local-sink through the four scenarios is presented in Figure 7. Local-sinks (

Total number of packets transmitted from local-sink in four scenarios.

The remaining energy for local-sinks (initial energy = 500 mA).
On the other hand, the delivery rate was evaluated for the above four scenarios, in order to assure the feasibility of the proposed system. Figure 9 presents the delivery rate for the aforementioned four scenarios. End-to-end and cluster scenarios offer the worst delivery rate, since a large number of packets are required to be exchanged in the ZigBee WSN. However, when MR and clustering systems are adopted, the dropping rate will be less, and hence the delivery rate will be enhanced.

Delivery rate through four scenarios.
4.3. Real Experiments
In this section, a proof-of-concept and results obtained from a small experiment are presented, which proves the feasibility of using a clustering algorithm and a MR as data collector in ZigBee sensor field.
4.3.1. Static and Mobile Robot Models
Through real experiments, XBee series 2 module has been employed for static nodes. XBee module offers cost-effective wireless connectivity in ZigBee mesh networks, and it allows for a very reliable and simple communication between microcontrollers, computers, and systems.
The proposed system targets the environmental monitoring applications, in which temperature, humidity, carbon monoxide, and light values are significant and can be used to determine hazards in any environment [21]. The experiment test-bed includes the design and implementation for two nodes: (1) end-device nodes where each end-device node collects the sensed from onboard sensors (temperature, humidity, and carbon monoxide) as presented in Figure 10, and (2) router nodes where each router node gathers sensed data from its child nodes (end-devices and routers) in its cluster and has the ability of processing, aggregating, and electing a CH for the next round. Figure 11 presents the implemented router node.

End-device node.

Router node platform.
For the data collection function, a MR system was designed and implemented. The proposed robotic prototype is based on Arduino Uno board which can navigate the terrain and collect the sensed data from static nodes distributed over the area of interest. Figure 12 presents the designed prototype robotic system. XBee router node is attached to the robotic system in order to allow communication between robotic system and static sensor nodes. The designed robotic system has information about the static sensor nodes’ locations, in order to schedule visits to near-drain nodes, drain nodes, and child nodes.

Mobile robot model.
4.3.2. Nodes Architecture
A total number of 12 nodes were deployed in the experiment test-bed: a single coordinator, 7 router nodes, and 4 end-device nodes, as depicted in Figure 13. A single MR system was deployed to gather the observation collected by stationary sensor nodes.

Real experiment architecture.
In order to obtain the sensed data frequently from static sensor nodes in environment monitoring applications, an efficient sampling rate must be configured. According to [22] the optimal sampling rate (
Experimental test-bed parameters.
4.4. Real Experiments Results
In this section, the total number of packets transmitted in the four scenarios is evaluated and discussed. The following assumptions have been made. First, each end-device node can communicate only with its direction neighbors on the grid. Second, each packet can be lost with probability
Given these assumptions, the sum of the expected number of transmissions (ETX) is estimated, which are required to enable each of the 11 nodes to deliver a single packet to the sink node successfully. Through 20 minutes experiment time, the ETX for Scenario 1 was equal to 226 and
Figure 14 presents the total number of packets transmitted in four scenarios through 20 minutes experiment time, and Figure 15 shows the total number of packets transmitted by each local-sink (

The total number of packets transmitted in four scenarios.

Total number of packets transmitted by each local-sink through 4 scenarios.

The average power consumption in 4 scenarios for the entire WSN.
On the other hand, the time required for a MR to collect sensed data from a router node and bring data back to sink nodes was estimated. As presented in Figure 17, the average access time is presented for each router node. The average access time will increase when the proposed system is deployed in large environment, and hence integrating multiple MRs will solve the problem.

Average access time required to collect sensed data using MR.
5. Conclusion and Future Work
In WSN data collection, sensor nodes placed close to the sink node tend to consume more energy than those far away from the sink. This is because, besides transmitting their own packets, they forward packets of other nodes to the sink node. However, WSN lifetime can be significantly improved if the energy consumed in the transmission is reduced.
In this paper, an energy-efficient data collection system is proposed through adopting two systems: a clustering and a MR system. The implementation of the proposed energy-efficient system offers three main advantages as follows: saving energy, minimizing data collision, and reducing computational load on the router and sink nodes. Throughout experiments, the power consumption rate was improved by about 33% through adopting energy threshold system 1 and was improved by 56% through applying energy threshold system 2. For future work, the proposed system is aimed at being deployed in large field with an extra number of nodes and then testing its efficiency in terms of power consumption and dropping rate, in addition to studying the efficiency of adopting multiple MRs for data gathering.
