1. Introduction
The wireless body area network (WBAN) is a wireless network of wearable sensing, computing and communicating devices. In the WBAN, the wearable devices communicate with one another in the proximity of a human body and also connect to the Internet through gateway devices (e.g., a cellular phone) [
1,
2]. With such a kind of network connectivity, the WBAN provides various interdisciplinary applications, including remote medical diagnosis, interactive gaming, military applications, etc. The wearable devices monitor the human’s status and transmit all sensing data in real time or trigger alarms in abnormal conditions to the healthcare server. In an interactive game, sensors feed back information about actual body movements of game players to the corresponding gaming console to provide entertainment experiences. Furthermore, WBANs can be used to connect soldiers in a battlefield and report their activities to the commander. In such applications, body sensors provide sensing data to the body area aggregator, which is central to manage body events. The aggregator node gathers all sensing data and forwards them to other infrastructures via wireless backhaul after a pre-processing, such as data fusion or data aggregation, in order to enhance the transmission efficiency or reduce the energy consumption [
3,
4].
The use of data aggregation in WBANs can increase the transmission efficiency by combining small multiple sensor data into a single transmission frame, thereby reducing the overhead associated with each transmission [
5]. Data aggregation is useful in situations where each transmission frame has a significant overhead (i.e., preambles, headers, trailers, etc.) or where the expected size of sensing information is quite small compared to the maximum frame size. The data aggregation reduces the overhead and, so, enhances the transmission efficiency, but causes an additional delay to wait for sufficient sensor data to be aggregated. That is, there commonly exists a tradeoff between the transmission efficiency and the aggregation delay in the use of data aggregation [
6]. Since the aggregation delay directly affects the end-to-end delay of sensing data, the analysis of aggregation delay is very important to provide the quality of services (QoS) for the applications of WBAN.
Research about data aggregation was originated from a wired network, and the first packet aggregation methods have been proposed to increase the transmission efficiency in Ethernet [
7,
8]. In a wireless network, studies on packet aggregation have been conducted to fully utilize the limited bandwidth of the air interface [
9]. The packet aggregation for real-time traffic with a strict QoS constraint has been investigated by considering the unstable wireless link [
10]. Moreover, the packet aggregation delay has been evaluated, and its effect on the end-to-end delay of voice traffic has been shown [
11]. In addition, the so-called holding time aggregation method has been proposed for real-time traffic, in which a packet holding time was estimated to ensure the QoS, such as end-to-end delay and jitter [
12]. Similarly, an aggregation algorithm to satisfy the QoS in WBAN networks has been proposed by introducing the critical delay as a parameter, in order to serve packets taking into account their priorities and classifying them into an aggregated frame [
13]. Various aspects of QoS with a focus on WBAN have been presented [
14]. This study informs that the data fusion and aggregation seriously influence the overall QoS in WBANs. According to different medium access control protocols, realistic experiments have been performed, and then, a data aggregation strategy has been proposed [
15]. These results show that the data aggregation significantly improves the reliability and energy consumption in WBANs. On the other hand, an energy-efficient aggregation and reliable communication protocol for WBANs has been proposed [
16]. Therein, the aggregator nodes were initially chosen based on the nodes’ connectivity, and the network coding was applied to enhance both the energy efficiency and the reliability of data transmission. An energy consumption-balanced method of data aggregation for wearable sensor systems has been introduced [
17]. This method combines a query algorithm to construct a routing tree and a distributed data aggregation algorithm in order to prolong the lifetime of wearable sensor networks.
Previous studies have mostly considered a constant bit rate traffic that does not have an on-off traffic pattern. However, some WBAN applications generate non-real-time traffic, as well as real-time traffic, so there is a need to consider a variable bit rate traffic with an on-off traffic pattern. In this paper, we consider the aggregation of various sensor data with an on-off traffic pattern from the practical perspective. To this end, we consider the aggregation threshold and the aggregation timer as the operational parameters of the aggregation process. The aggregation threshold refers to the maximum number of packets aggregated into a single frame, which reflects the fact that the available bandwidth of wireless backhaul is limited [
18]. The aggregation timer refers to the maximum allowable time to wait for packets before transmission, which limits the maximum queueing delay at the buffer of the aggregator, especially when the sensor data are generated sparsely. In addition to such new considerations, our main contribution is to derive a closed-form expression of aggregation delay, as an important performance metric of the packet aggregation process, considering multisource sensor data with an on-off traffic pattern. This analytic framework is quite distinct from previous studies and allows one to easily identify the performance tendency of aggregation delay according to various operational parameters. Consequently, this study can contribute to providing a theoretical basis for further research on the performance evaluation in WBANs.
The rest of this paper is organized as follows.
Section 2 describes the system model and notations used for analysis.
Section 3 first analyzes the aggregation probability numerically, and then,
Section 4 calculates the average aggregation delay in closed-form.
Section 5 verifies the numerical analysis compared with the simulation and shows the tendency of aggregation delay according to various parameters. Finally,
Section 6 provides the concluding remarks of this study.
2. System Description
Figure 1 illustrates a schematic representation of the considered packet aggregation process. Suppose that the considered WBAN has
C traffic sources (i.e., active sensors). All of the data generated from these sensors are aggregated at a central gateway node (i.e., body area aggregator) and forwarded to the Internet server via wireless backhaul. The aggregator stores the incoming sensor data in an aggregate queue. If the number of queued packets is the same as or greater than the predetermined packet aggregation threshold, the queued packets are immediately transmitted as an aggregate packet. We denote this predetermined packet aggregation threshold as
. In reality, the aggregation threshold is required due to the limited bandwidth of wireless backhaul.
Because of the on-off characteristic of traffic, the variable waiting (or queueing) delay occurs during the aggregation process. If the time taken for the number of queued packets to be the same as or greater than is excessively long, the queueing delay at the aggregator significantly increases, and the QoS deteriorates. To prevent this excessive queueing delay, the aggregator transmits an aggregated frame when the aggregation timer expires, although the number of packets in a queue is less than . We denote the value of the packet aggregation timer as .
Most codecs use various silence suppression or compression techniques to prevent the unnecessary generation of packets during the no information period, thus avoiding the waste of limited bandwidth [
19]. The on-off traffic attribute of various applications is modeled by some statistical analysis [
20]. For example, a voice detector generates packets for a period of 60 percent of the entire session on average, and no packet is generated during the rest period. Thus, the traffic with the on-off period is modeled as a successive Bernoulli trial based on a discrete time index
t with a probability of
, which is the probability that a sensor generates a packet during a given time period [
21]. The symbols used for analysis and their definitions are summarized in
Table 1.
3. Analysis of the Aggregation Probability
In this section, we first try to calculate the probability that the packet aggregation occurs at time t (i.e., the aggregated frame is transmitted at time t). We call this probability the aggregation probability in this study.
Suppose that the first packet arrival at the aggregator occurs during the time interval
. The probability that
i packets arrive in the queue during the unit time,
, is given by:
Let
be the random variable denoting the time when the packet aggregation process occurs, given that the values of the aggregation timer and aggregation threshold are
and
, respectively. Let
and
be the probabilities that the queued packets are aggregated by the expiration of the aggregation timer and by the number of the queued packets being the same as or greater than the packet aggregate counter, respectively. We then have the following equation:
Let
be the probability that the number of queued packets is
i at time
t given that the aggregation timer starts at Time 0. Then, there should be at least one packet arrival during the time interval
. From the definition of
,
is given by:
Let
be the probability that there are
i queued packets during the time interval
, that is
. Then, because of the independent packet arrivals at the aggregator,
is time-homogeneous and is given by:
If there are
i queued packets during the time interval
, this implies that
packets arrive in the queue during the time interval of
and
k packets arrive in the queue during the remaining time interval
, where
k varies from zero to
i. Therefore, we have:
Let
. From Equations (
4) and (
5), we can derive the following linear system:
where
is a
lower triangular matrix expressed as:
and
. Let
. Then, matrix
inherits the properties of matrix
, that is
is also a
lower triangular matrix whose elements on the main diagonal are the same as
and the elements on the
k-th diagonal below the main diagonal are the same as
. From Equation (
6), we have:
where the last equality comes from the following equation:
The relation between
and
for
is given by:
where the last equality comes from
. From Equations (
3), (
9) and (
10), we have:
From Equations (
2) and (
11),
is given by:
The event that the packet aggregation process occurs at time
means that the number of queued packets at time
is less than
; thus,
for
is calculated by:
Note that the event of does not always mean that the packet aggregation process is triggered by the expiry of the aggregation timer. Suppose that there are four queued packets in an aggregate queue until the elapsed time is 9 with the assumptions that and . If there are one or more packet arrivals in an aggregate queue at Time 10, the packet aggregate process is triggered by both the aggregation threshold and the expiry of the aggregation timer. Otherwise, if there is no packet arrival at Time 10, the packet aggregation process is activated solely by the aggregation timer.
From
and
for all
, the aggregation probabilities at Times 1 and 2 are manually calculated, respectively, as given by:
To determine the aggregation probability at an arbitrary time , we make the following proposition.
Proof. Suppose that the packet aggregation process is triggered at time
k by the aggregation threshold. Then, a value of the aggregation timer greater than
k has no effect on the aggregation probability, that is,
Then, we have:
which ends the proof. ☐
From Equations (
13) and (
16) and the above Proposition, the probability that the packet aggregation process occurs at time
is given by:
From Equations (
13)–(
15) and (
17), the aggregation probability at time
t is obtained by:
4. Analysis of the Average Aggregation Delay
The aggregation delay is defined as the time difference between the time when the packet aggregation occurs and the time when the packet arrives at the aggregate queue. In our work, a packet
m that arrives at the aggregation queue during
is regarded to have arrived at the aggregation queue at time
precisely; the aggregation delay of packet
m is therefore
x given that the packet aggregation occurs at time
t. Let
X be a random variable denoting this aggregation delay of a packet
m. Then, the average aggregation delay is given by:
The average aggregation delay when the packet aggregation process occurs at time
is decomposed as follows:
The event that the packet aggregation process occurs at time
means that there is at least one packet arrival in the first time slot; the number of queued packets at time
is less than
; and the number of queued packets at time
t is equal to or greater than
. Thus, the probability that the packet
m arrives at the packet aggregate queue in the first time slot given that the packet aggregation process occurs at time
is given by:
Similar to Equation (
21), the probability that the packet
m arrives in the packet aggregate queue in time slot
is given by:
If the packet
m does not arrive at the packet aggregate queue during either the time slots
or
, it can be regarded that the packet
m arrives at the queue uniform randomly during
. The average aggregation delay can therefore be approximated as
. Therefore, the average delay in this case is given by:
From Equations (
21)–(
23), Equation (
20) is rewritten as:
The packet aggregation process occurrence at time
is inspired by the aggregation timer (i.e.,
and
) or by the packet aggregate threshold (i.e.,
,
and
). To describe the above conditions simply, we define new random variable
as:
Note that
means that the packet aggregation process occurs at time
due to the aggregation threshold. The average packet aggregate delay given that the packet aggregation process occurs at time
is decomposed as follows:
Using the technique used in Equations (
21)–(
23), we obtain the following equations:
From Equations (
27)–(
29), we have:
The probability that packet
m arrives in the packet aggregate queue during the first time slot given that the packet aggregation process occurs at time
due to the packet aggregation timer is as follows:
Similar to the discussion for Equation (
23), if packet
m does not arrive in the packet aggregate queue during the first time slot with the assumption that the packet aggregation process occurs at time
due to the aggregation timer, it can be regarded that packet
m arrives in the queue uniform randomly during the time interval
. The average aggregation delay may therefore be approximated as
. The average delay in this case is given by:
From Equations (
31) and (
32), we have:
Using Equations (
30) and (
33), Equation (
26) is re-written as:
Finally, combining Equations (
24) and (
34) with Equation (
19), the average aggregation delay is calculated as follows.
5. Results and Discussion
The results of the aggregation probability and the average aggregation delay were numerically evaluated as functions of various parameters, such as the value of the aggregation timer, the aggregation threshold, the number of traffic sources and the packet generation probability. We performed Monte Carlo simulations for 100,000 packet arrivals for each scenario in order to validate the numerical analysis. The sensor’s packet generation period is set to 20 ms [
22].
Figure 2 shows the aggregation probability with respect to the number of traffic sources (
C), the aggregation timer (
) and the aggregation threshold (
). Naturally, the aggregation probability increases quickly as
C and
is greater and
is smaller. It is shown that the results of the analysis and simulation have good agreement with an error of less than 0.05%.
Figure 3 shows the average aggregation delay versus the aggregation timer according to the aggregation threshold (
) and the number of traffic sources (
C) when the packet generation probability (
) is 0.4. As the aggregation timer increases, so does the time necessary to generate an aggregated packet, which results in a linear increase in the aggregation delay at the relatively small range of the aggregation timer. However, when the aggregation timer is large enough, most of the aggregated packets are generated by the aggregation threshold, which explains the saturation of the aggregation delay as the aggregation timer increases. Namely, the aggregation delay is bounded below a certain level by some values of the aggregation threshold and the aggregation timer. As the aggregation threshold increases, the time to wait for a packet to be aggregated into a single aggregated frame increases, which results in an increase in the aggregation delay. On the other hand, as the number of traffic sources increases, there are more packet arrivals in the aggregation queue per unit time, which means that the time required to construct an aggregated packet is shorter and the average aggregation delay decreases.
Figure 4 shows the average aggregation delay versus the aggregation timer according to the aggregation threshold (
) and the probability that a traffic source generates a packet during a unit time (
) when the number of traffic sources (
C) is three. Similar to the result in
Figure 3, the average aggregation delay increases linearly at first as the aggregation timer or aggregation threshold increases and then is saturated at a sufficiently large aggregation timer eventually. In addition, the packet generation probability shows the same effect as the number of traffic sources because more packets arrive at the aggregation queue as
increases and the time required to construct an aggregated packet is shorter.
6. Conclusions
In this paper, we evaluated the delay performance of the packet aggregation process for multisource sensor data with an on-off traffic pattern in the WBAN system. Considering the aggregation timer and the aggregation threshold as dominant parameters that determine the performance of the packet aggregation process, we performed the detailed analysis of the probability that the packet aggregation process occurs during a unit time. Based on the distribution of this probability, the average aggregation delay was formulated in the closed-form. The results showed that the average aggregation delay linearly increases as the aggregation timer or the aggregation threshold increases, but is saturated at sufficiently large values of the aggregation timer or the aggregation threshold, according to the given number of traffic sources and the traffic generation probability. Therefore, this analysis reveals that the additional aggregation delay can be bounded below a certain level by suitably choosing some parameters of the aggregation process, such as the aggregation threshold and the aggregation timer. This means that the considered aggregation threshold and aggregation timer are effective parameters to satisfy the delay requirements of applications. We expect that this study will be able to contribute to provide a theoretical basis to further derive an optimal operational parameter that can maximize the transmission efficiency while guaranteeing the delay constraint of the application in the WBAN system. Moreover, it can provide a general analysis framework for other systems in which the data aggregation occurs and the delay constraint exists, such as the intra-car sensor networks, wireless multimedia sensor networks, mission critical sensor networks, and so on. In the future, we will apply the proposed analysis framework to those sensor networks and try to optimize their performance.