Next Article in Journal
Modeling the Trend of Credit Card Usage Behavior for Different Age Groups Based on Singular Spectrum Analysis
Previous Article in Journal
muMAB: A Multi-Armed Bandit Model for Wireless Network Selection
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Optimal Online Resource Allocation Algorithm for Energy Harvesting Body Area Networks

1
School of Software, Central South University, Changsha 410075, China
2
“Mobile Health” Ministry of Education-China Mobile Joint Laboratory, Changsha 410083, China
*
Author to whom correspondence should be addressed.
Current address: School of Software, Central South University, Changsha 410075, China.
These authors contributed equally to this work.
Algorithms 2018, 11(2), 14; https://doi.org/10.3390/a11020014
Submission received: 10 November 2017 / Revised: 22 January 2018 / Accepted: 24 January 2018 / Published: 28 January 2018
(This article belongs to the Special Issue Online Algorithms)

Abstract

:
In Body Area Networks (BANs), how to achieve energy management to extend the lifetime of the body area networks system is one of the most critical problems. In this paper, we design a body area network system powered by renewable energy, in which the sensors carried by patient with energy harvesting module can transmit data to a personal device. We do not require any a priori knowledge of the stochastic nature of energy harvesting and energy consumption. We formulate a user utility optimization problem. We use Lyapunov Optimization techniques to decompose the problem into three sub-problems, i.e., battery management, collecting rate control and transmission power allocation. We propose an online resource allocation algorithm to achieve two major goals: (1) balancing sensors’ energy harvesting and energy consumption while stabilizing the BANs system; and (2) maximizing the user utility. Performance analysis addresses required battery capacity, bounded data queue length and optimality of the proposed algorithm. Simulation results verify the optimization of algorithm.

1. Introduction

According to the sixth national census report, the trend of population aging is aggravating year by year. People over 60 years of age account for 13.26% of the total population. People over 65 years of age account for 8.87% of the total population [1]. The aging of the population has brought us a series of related questions [2]. It is expected that about half of the medical resources will be used to solve the health problems of the elderly in future, which will be a serious challenge for the allocation of limited current medical resources. Chronic diseases have been a threat to human survival [3]. Heart disease, malignancy, cerebrovascular disease, chronic respiratory disease, influenza and diabetes are the deadliest cause of death [4,5]. Traditional medical care is that the doctor test and treat patient through the medical equipment in hospital. This requires that patients lie in the bed and connect a large number of lines, which not only greatly limits the patient’s range of activities but also cannot complete the early diagnosis and remote health-care [6,7,8]. Moreover, more and more wireless networks are used. Electronic devices are also becoming smaller and smaller [9]. In such conditions, BANs have developed.
Body area networks have gained momentum as a means of monitoring people’s behavior, which are networks attached to the human body [10]. BAN is composed of some small and mobile sensors with communication capability, whose design problem is often addressed through mathematical optimization techniques (e.g., [7,11,12,13]). By implanting these sensors into the human body or wearing them on the human body, they form a local area network. These sensors detect the patient’s physiological signals in real time [14,15]. In addition, they can collect and transmit patient’s physiological signals at home and at random [16]. Therefore, researchers are paying more and more attention to the use of BANs. In a BAN, each patient wears sensors on the body or embeds special sensors in the body that can continuously monitor the various physiological signals of the body and transmit it to the personal device wirelessly. Then, the information can be transmitted through the external network to the medical system. By analyzing and dealing with the collected data, the physiological signals of the human body are diagnosed, and the early diagnosis is completed, thus ensuring the safety of human life.
However, the BANs are facing great challenges. One of the most serious challenges is the energy efficiency [17]. How to supply a sensor is related to how to provide a lasting service for BANs. At present, most of the sensors in BANs are configured with batteries, but the battery capacity is very limited [18,19,20]. Considering the friendliness to patients, we cannot replace the battery frequently [21]. More importantly, some physiological signal sensors, such as implanted blood pressure sensors, implanted PH sensors, they are implanted into the human body, so we cannot replace the battery. In this condition, energy harvesting technology is developed [22]. Energy harvesting technology is very important to prolong sensor’s lifetime in BANs [23]. Many implanted sensors require a long lifetime. For example, a pacemaker or a glucose monitor would require a lifetime lasting more than five years [2]. By using energy harvesting technology, sensors harvest energy from the renewable sources in the area of interest [24]. In fact, the sensor in BANs is equipped with energy harvesting modules [25], which provide a time-independent amount of energy with respect to the batteries. The sensor harvest energy to collect data and transmit it.
In this paper, we investigate the energy efficiency in BAN that consists of a number of medical sensors, by jointly considering the data buffers and energy buffers’ management. The sensor collects data and saves in its data buffers, and so does the energy. The channel condition is changing all the time and its variations are complex and unpredictable due to motion and shadowing effects of the human body. We use Lyapunov optimization theory and propose a resource allocation algorithm to achieve close-to-optimal time average user utility. The contributions of this paper are the following:
  • By using energy harvesting technology, the lifetime of the system is greatly prolonged. Energy harvesting technology is very important to the BAN system. Sensors harvest energy from the renewable sources. We propose a framework to characterize the stochastic nature of the energy harvesting and energy consumption, we do not need any a priori knowledge of these stochastic processes.
  • We propose an optimization problem to maximize the user utility. We use Lyapunov optimization approach to decompose the user utility optimization problem into three sub-problems, i.e., battery management, collecting rate control and transmission power allocation. We propose an optimal online resource allocation algorithm that makes decisions at the beginning of each time slot and then updates queues, and achieves close-to-optimal time average user utility.
The remaining parts of the paper are organized as follows. Related works are reviewed in Section 2. The system model is presented in Section 3. A resource allocation algorithm is proposed in Section 4. We analyze the performance of the proposed algorithm in Section 5. Simulation results are provided to evaluate the performance of the proposed algorithm in Section 6. Section 7 concludes this paper and future works.

2. Related Works

In [26], the authors design two algorithms to optimize the network utility. The first algorithm computes the data sampling rate and routes. To avoid missing opportunities for energy harvesting, the second algorithm is designed to adapt the sampling rate with the objective of maintaining the battery at a target level. The authors of [27] design a data gathering optimization algorithm to optimize data gathering in terms of network utility by jointly considering data gathering and data transmission. A novel method has been considered to improve the performance of on-body communication by harvesting energy from ambient sources in and around the human body in [28]. In [19], a selective gateway method based on the residual energy of the sensors has been proposed, to further increase the lifetime of the BANs, a thermal energy harvesting system has been proposed to harvest heat energy from human warmth. In [29], Zhang et al. develop a distributed sampling date control (DSRC) algorithm to decide the sampling rate for each rechargeable sensor node with a limited battery capacity while maximizing the network performance. Literatures [26,27,29] are assumed to have a good prior knowledge of energy harvesting. Practically, this is not true because energy harvesting is a dynamic and random process. We cannot predict it. In [30], Huang et al. design an online energy-limited scheduling algorithm(ESA), which jointly manages the energy and makes power allocation decisions for packet transmission, and does not require any knowledge of the harvestable energy process. In [31], the authors propose an intelligent solar energy-harvesting system for supplying a long term and stable power. In [32], the authors propose two new and insightful performance criteria to evaluate the new class of hybrid networks that comprise both energy harvesting and conventional nodes.
In [33], the authors propose a mathematical model that focuses on the maximization of the lifetime of the path of nodes involved in a data flow. In [34], the authors propose a global routing protocol based on Dijkstra’s algorithm with a novel link cost function specialized for balancing energy consumption. In [35], the authors propose an integer linear programming model that optimizes the number and location of relays while minimizing the energy consumption. In [36], the authors maximize network lifetime based on joint resource allocation scheme for BANs. The authors show that the problem of optimizing network lifetime is equivalent to maximizing the residual energy of sensor nodes. The proposed scheme is capable of extending the lifetime of network as well as guaranteeing user quality of service (QoS) requirements. In [37], the authors propose a formulation to reduce the energy consumption of BANs through monitoring and eliminating the spatial correlated contention in the BANs sensors while avoiding multiple nodes sending the same data to prolong the sensor and network lifetime. In [38], the authors propose an energy-efficient fuzzy formulation based on adaptive routing protocol to prolong the network lifetime. This protocol is based on clustering protocol that makes use of direct transmission technique depending upon the criticality and the location of the sensor. The authors in [39] present an adaptive interference mitigation scheme for multiple coexisting BANs based on social interaction to reduce energy consumption. The energy consumption is reduced by optimizing the transmission time by synchronous and parallel transmission. However, literatures [34,35,36,37,38,39] just consider how to save energy or balance energy consumption, without considering harvesting energy from outside. It is not enough to prolong the lifetime of BANs. Lyapunov optimization theory [40] is a framework to combine stability and optimization techniques. It takes account of both the stability of the system and user utility maximization objectives [41].
Firstly, the above-mentioned works assume having good a priori knowledge of energy harvesting. Practically, this is not true because energy harvesting is a dynamic and random process. We cannot predict it. Secondly, the above-mentioned works consider how to save energy or balance energy consumption, without considering harvesting energy from outside. It is not enough to prolong the lifetime of BANs. They cannot meet the requirements of energy in BANs. Therefore, to solve the problem, this paper proposes a framework to characterize the stochastic process of energy harvesting and we design a problem formulation to maximize the user utility.

3. System Model

In this section, we present the system model of BAN and the optimization problem formulation. It is interesting to note that the BAN optimal design problem presents many connections with general wireless network design problem (see e.g., [42,43,44]). We consider a body area network, consisting of a personal device and N lightweight sensors, such as those shown in Figure 1. Let N = { 1 , 2 , 3 , , N } denote the set of sensors. The system time is partitioned into time slots of constant duration, denoted by t. Let T = { 1 , 2 , 3 , , T } denote the set of time slots. Each sensor has two queues: data queue and energy queue. Data queue is used to describe data collection and data transmission. Energy queue is used to describe energy consumption and energy harvesting.

3.1. Collecting Rate and Utility

In time slot t, let c n ( t ) represent the collecting rate of sensor n carried by the patient in BAN. c n ( t ) follows an independent and identical distribution. We assume that the collected data have a finite maximum c m a x , so that
0 c n ( t ) c m a x , n N .
The collecting rate is associated with a user utility function U n ( c n ( t ) ) , which is a concave function over the interval 0 c n ( t ) c m a x with a bounded first derivative U n ( c n ( t ) ) and U ( 0 ) = 0 [23]. We assume that utility function U n ( c n ( t ) ) has a finite maximum slope of ν .

3.2. Data Transmission

We let p n ( t ) denote the transmission power of sensor n carried by patient in time slot t. In the BAN, the sensor has a maximum transmission power p m a x . The following inequality must be satisfied:
0 p n ( t ) p m a x , n N .
We use β n ( t ) to denote the signal to interference plus noise ratio of sensor n. According to the Shannon formula, the transmission rate r n ( t ) is defined as r n ( t ) = log ( 1 + K β n ( t ) ) . Here, K denotes the processing gain. Since log ( K β n ( t ) ) is very close to log ( 1 + K β n ( t ) ) , so we let
r n ( t ) = log ( K β n ( t ) ) , n N .
We use sleeping mode to achieve opportunistic transmission. During the sleeping mode, the sensor just can collect data, cannot transmit data. We use z n ( t ) to denote the sensor’s mode. If the data queue length is greater than L, which is a constant, z n ( t ) = 1 , else z n ( t ) = 0 .

3.3. Energy Consumption Model

c n ( t ) is the collecting rate of sensor n carried by patient in time slot t. We save the data in its data buffer. The energy consumption of collecting data is a linear function of c n ( t ) and is denoted by α c n ( t ) . Thus, the total energy consumption a n ( t ) of sensor n carried by patient in time slot t is
a n ( t ) = α c n ( t ) + p n ( t ) z n ( t ) , n N .
The total energy consumption is bounded by a n ( t ) α c m a x + p m a x , n N . We use a m a x = α c m a x + p m a x to denote the upper bound of any sensor’s energy consumption.

3.4. Queues Dynamic Model

We define I n ( t ) as the data queue occupancy of sensor n carried by patient and I ( t ) = { I 1 ( t ) , I 2 ( t ) , I 3 ( t ) , , I N ( t ) } represents a vector with the length of data queues of all sensors in time slot t. The data queue is given by:
I n ( t + 1 ) = m a x [ I n ( t ) z n ( t ) r n ( t ) , 0 ] + c n ( t ) .
We define J n ( t ) as the energy queue occupancy of sensor n carried by patient and J ( t ) = { J 1 ( t ) , J 2 ( t ) , J 3 ( t ) , , J N ( t ) } represents a vector with the length of energy queues of all sensors in time slot t. The energy queue is given by:
J n ( t + 1 ) = J n ( t ) a n ( t ) + h n ( t ) ,
where h n ( t ) is energy harvesting rate. The harvested energy comes from movement and other stable energy sources like body heat. In addition, the energy harvesting rate is bounded by the energy supply rate e n ( t ) , which determines the amount of harvestable energy of sensor.
Ω is a limited battery capacity. The total energy stored in battery is limited by the battery capacity Ω . Thus, in time slot t, the sum of the energy left in energy queue J n ( t ) and harvested energy h n ( t ) must be less than the battery capacity. Then, the following inequality should be satisfied in each time slot:
J n ( t ) + h n ( t ) Ω , n N .

3.5. Optimization Problem Formulation

Based on the aforementioned models, a stochastic optimization problem is formulated whose goal is to maximize the time-average user utility of BANs. U n ( c n ( t ) ) is a concave function over the interval 0 c n ( t ) c m a x . We let O n ( t ) = U n ( c n ( t ) ) . The time-average user utility can be written as
O ¯ = lim T 1 T t = 0 T n N O n ( t ) .
We use c ( t ) , h ( t ) and p ( t ) to denote collecting rate c n ( t ) , energy harvesting rate h n ( t ) and transmission power p n ( t ) . We define Y ( t ) = ( c ( t ) , h ( t ) , p ( t ) ) to represent the set of variables. To maximize the time-average user utility, we formulate a stochastic optimization problem as follows, subject to the constraints Equations (1) to (7).
( UEDP ) max Y ( t ) O ¯ s . t . E q u a t i o n s ( 1 )   t o   ( 7 ) .
By optimizing the set of variables Y ( t ) , we maximize the stochastic optimization problem. In the following section, we use Lyapunov optimization approach to decompose UEDP into a series of deterministic subproblems in each time slot.

4. Resource Allocation Algorithm

4.1. Lyapunov Optimization

Laypunov optimization theory introduces a method to control the utility problem. We adopt Laypunov optimization theory to decompose the objective into optimization goals for each time slot. We define Θ ( t ) = ( I ( t ) , J ( t ) ) as the network state in time slot t that represents the length of data queue and energy queue. We define a Laypunov function, L ( t ) , as the sum of squares of backlogs in the data queues and the spare capacity in sensors’ batteries.
L ( t ) = 1 2 n N ( I n ( t ) ) 2 + 1 2 n N ( J ^ n ( t ) ) 2 ,
where J ^ n ( t ) = Ω J n ( t ) denotes the spare capacity battery of sensor n. Laypunov function L ( t ) is a scalar to measure the occupancy of data queue and energy queue. A small value of Laypunov function L ( t ) means a small length of data queue and a full battery of capacity. According to the characteristics of the data queue and energy queue, L ( t ) is time coupled. We define the conditional Lyapunov drift, denoted by Δ ( t ) = E [ L ( t + 1 ) L ( t ) | Θ ( t ) ] for converting time-coupled problem to non-time-coupled problem. Our goal is to minimize Δ ( t ) in each slot time. The data queue is pushed towards zero to stabilize the data queue. The energy queue is pushed towards their battery capacity Ω to guarantee having enough energy for data collection and data transmission.
The maximum user utility has not yet been incorporated in Laypunov function L ( t ) . We include a weighted version of user utility into the Lyapunov drift. We use the Δ V ( t ) = E [ Δ ( t ) V O ( t ) | Θ ( t ) ] , to substitute the Δ ( t ) , where V is a weight, which means how much we emphasize on user utility. Minimization of Δ V ( t ) can minimize the Δ ( t ) . By minimizing Δ V ( t ) , we can achieve two goals: (1) stabilizing the BAN system; and (2) maximizing the user utility. The drift-minus-utility Δ V ( t ) is a quadratic function of the queue lengths and variables in Z ( t ) , and we can derive the upper bound of Δ V ( t ) . Minimization of Δ V ( t ) by minimizing its upper bound.
Theorem 1.
Given the network state, the upper bound of Δ V ( t ) is:
Δ V ( t ) B + E [ D V ( t ) | Θ ( t ) ] ,
where B is a finite constant and independent of V, whose expression is following:
B = 2 N [ ( c m a x ) 2 + ( r m a x ) 2 + ( h m a x ) 2 + ( a m a x ) 2 ] ,
and D V ( t ) is expressed as
D V ( t ) = n N J ^ n ( t ) h n ( t ) + n N α J ^ n ( t ) c n ( t ) + I n ( t ) c n ( t ) V U ( c n ( t ) ) + n N J ^ n ( t ) z n ( t ) p n ( t ) I n ( t ) z n ( t ) r n ( t ) .
Proof. 
See proof of theorem 1. We minimize Δ V ( t ) ’s upper bound to minimize it. Since B is a constant, we minimize D V ( t ) . ☐

4.2. Sub-Problem Solution

D V ( t ) is relevant to the set of variables Y ( t ) = ( c ( t ) , h ( t ) , p ( t ) ) , so we divide D V ( t ) into three parts according to the Y ( t ) = ( c ( t ) , h ( t ) , p ( t ) ) . Each part is a sub-problem that needs to be optimized. These sub-problems are battery management, collecting rate control and transmission power allocation. The sub-problem of battery management optimizes the energy harvesting rate h n ( t ) , which requires information on the energy queue occupancy J n ( t ) and energy supply rate e n ( t ) . The sub-problem of collecting rate control optimizes the collecting rate c n ( t ) , which requires information on the energy queue occupancy J n ( t ) and data queue occupancy I n ( t ) . The sub-problem of transmission power allocation optimizes transmission power p n ( t ) , which requires information on the energy queue occupancy J n ( t ) , data queue occupancy I n ( t ) , and transmission rate r n ( t ) . In the following, we will solve the sub-problems separately.
  • Battery Management
    The sensor should harvest energy as much as possible for data collection and data transmission. The system is stable only if the energy in the system is sufficient enough. In this sub-problem, we need to optimize energy harvesting rate h n ( t ) . To keep the BAN system running, we should try to charge the battery of sensor n carried by patient as much as possible. For each sensor n N , combining the first term of D V ( t ) with the constraint Equation (9), we have the optimization problem of h n ( t ) as follows:
    min h n ( t ) J ^ n ( t ) h n ( t ) , s . t . h n ( t ) e n ( t ) , J n ( t ) + h n ( t ) Ω .
    The problem is linear of h n ( t ) . In time slot t, we can get the value of energy queue occupancy J n ( t ) . Thus, minimize the optimization problem just to maximize the h n ( t ) with the constraints. If the battery of sensor n carried by patient is full, J ^ n ( t ) equals 0, and we do not need to harvest energy, h n ( t ) = 0 . If the battery is not full, J n ( t ) Ω and J ^ n ( t ) 0 , we need to harvest energy as much as possible, h n ( t ) = min ( Ω J n ( t ) , e n ( t ) ) . According to the above, we can get
    h n ( t ) = min ( Ω J n ( t ) , e n ( t ) ) , i f J ^ n ( t ) 0 , h n ( t ) = 0 , e l s e .
  • Collecting Rate Control
    In this sub-problem, we consider data scheduling of sensor n carried by patient in BAN. We optimize the second part of D V ( t ) while ensuring the constraint Equation (1). We have the optimization problem of c n ( t ) as follows:
    min c n ( t ) α J ^ n ( t ) c n ( t ) + I n ( t ) c n ( t ) V U ( c n ( t ) ) , s . t . , 0 c n ( t ) c m a x .
    In time slot t, we can get the values of energy queue occupancy J n ( t ) and data queue occupancy I n ( t ) . α and V are constants. Thus, minimize the optimal problem just need to optimize the collection rate c n ( t ) . According to Section 3.1, we can get that the utility function U ( c n ( t ) ) is a concave function; thus, the problem is convex. According to the convex optimization, let the collecting rate c n ( t ) be the unique optimal solution, and we can get:
    c n ( t ) = [ U 1 ( J ^ n ( t ) α + I n ( t ) V ) ] 0 c m a x .
  • Transmission Power Allocation
    In this sub problem, we consider transmission power allocation of sensor n carried by the patient. We optimize the third part of D V ( t ) to get the optimal transmission power. Combining the third term of D V ( t ) with the constraint Equation (2), we have the optimization problem of p n ( t ) as follows:
    min p n ( t ) J ^ n ( t ) z n ( t ) p n ( t ) I n ( t ) z n ( t ) r n ( t ) , s . t . 0 p n ( t ) p m a x , z n ( t ) = 1 , i f I n ( t ) > L ,
    where r n ( t ) = log ( K β n ( t ) ) , β n ( t ) = p n ( t ) i = 1 , i n p i ( t ) . Substituing the expression of β n ( t ) into r n ( t ) . According to the nature of logarithmic function, we can get
    log ( K p n ( t ) i = 1 , i n p i ( t ) ) = log ( K ) + log ( p n ( t ) ) log ( i = 1 , i n p i ( t ) ) .
    We can get the value of log ( i = 1 , i n p i ( t ) ) in time slot t, and log ( K ) is a constant. Thus, the minimization problem can transform to
    min p n ( t ) J ^ n ( t ) z n ( t ) p n ( t ) I n ( t ) z n ( t ) log ( p n ( t ) ) , s . t . 0 p n ( t ) p m a x , z n ( t ) = 1 , i f I n ( t ) > L .
    In time slot t, we can get the values of energy queue occupancy J n ( t ) , data queue occupancy I n ( t ) , and z n ( t ) . They are constants in time slot t. Thus, minimization of the optimal problem just needs to optimize the transmission power p n ( t ) , and the logarithmic function is concave. Thus, the problem is convex. Let the transmission power rate p n ( t ) be the optimal solution, and we have:
    p n ( t ) = [ log 1 ( J ^ n ( t ) I n ( t ) ) ] 0 p m a x .

4.3. Proposed Algorithm

In this subsection, we present an online resource allocation algorithm in Algorithm 1. The idea of this algorithm is to obtain the optimal harvested energy h ( t ) , collecting rate c ( t ) and transmission power p ( t ) according to the above subproblems firstly. Then, the algorithm updates data queues and energy queues according to Equations (5) and (6) in each time slot. There are four parts included in the online resource allocation algorithm. The first part is mainly to solve the sub-problem of battery management to achieve the optimal harvested energy h ( t ) in time slot t. The second part is mainly to solve the sub-problem of collecting rate control to achieve the optimal collecting rate c ( t ) . The third part is mainly to solve the sub-problem of transmission power allocation to achieve the optimal transmission power p ( t ) . The fourth part is mainly to update the data queue occupancy I n ( t + 1 ) and energy queue occupancy J n ( t + 1 ) based on the results of the previous three parts. Figure 2 shows the three subproblems and the data flows among them.
Algorithm 1: Online Resource Allocation Algorithm.
Algorithms 11 00014 i001

5. Performance Analysis

In this section, we analyze the performance of the proposed online resource allocation algorithm. This section is divided into three sections: Section 5.1 Required Battery Capacity, Section 5.2 Bounded Data Queues and Section 5.3 Optimality of the Proposed Algorithm. Section 5.1 shows the battery capacity that we need to support the operation of BAN system. Section 5.2 shows that the data queues are bounded. Section 5.3 shows the gap between user utility achieved by the proposed algorithm and the optimal utility.

5.1. Required Battery Capacity

Only if there is enough energy in the battery of sensor n carried by the patient, the BAN system can have a stable operation; otherwise, it will not collect data or transmit data. Thus, we can get the required battery capacity in such a way that if the available energy is less than the maximum energy consumption, i.e., J n ( t ) a m a x , the sensor will not collect data or transmit data. Theorem 2 has shown the required battery capacity.
Theorem 2.
The required battery capacity Ω supporting to the operation of BAN system is given by:
Ω = V ν α + a m a x , n N .
Sensors will not collect and transmit data, i.e., c n ( t ) = 0 and r n ( t ) = 0 if and only if J n ( t ) a m a x , i.e., length of energy queue is less than the maximum of energy consumption.
Proof. 
See proof of theorem 2. To enable the BAN system to operate under the proposed resource allocation algorithm, the sensor n must be equipped with a battery of capacity Ω . ☐

5.2. Bounded Data Queues

In this subsection, we give a theorem about bounded data queue of sensor n carried by patient. In order to ensure the stability of the BAN system, the data queue must be bounded. We use the constant I m a x to represent the upper bound of data queue. In Theorem 3, we give a theorem on upper bound of data queue.
Theorem 3.
The upper bound of data queue consists of weight V, slope of user utility function ν and the maximum of collecting rate c m a x . It is given by I m a x = V ν + c m a x . The length of data queue does not always exceed the upper bound:
0 I n ( t ) I m a x , n N .
This inequality is satisfied at time t = 0 .
Proof. 
See proof of theorem 3. From Theorem 3, the upper bound of data queue increases linearly with the weight V. To enable the BAN system to operate under the proposed resource allocation algorithm, the sensor n must be equipped with a data buffer of size I m a x . ☐

5.3. Optimality of the Proposed Algorithm

In Theorem 4, we analyse the optimality of the proposed resource allocation algorithm. We show the performance gap between the user utility achieved by the proposed algorithm and optimal utility.
Theorem 4.
We define O ¯ and O as the proposed algorithm user utility and optimal utility, and the performance gap between them is satisfied:
O ¯ O B V .
Proof. 
See proof of theorem 4. B is a constant. There is a B V performance gap between the user utility achieved by proposed algorithm and optimal utility. It is easy to know that the user utility increases with the increase of V, and illustrate that V means how much we put an emphasis on user utility. It also shows that user utility function is a concave function. ☐

6. Simulation Results

In this section, we present simulation results to evaluate the performance of the proposed online resource allocation algorithm. We consider a BAN system composed of five medical sensors. We set the system time T = 5000 , the processing gain K is uniformly distributed between (0.9, 1.1), the maximum collecting data rata c m a x = 50 , the maximum transmission power p m a x = 0.02 W, the upper bound of energy supply e m a x = 2 ; α = 5 × 10 4 and upper bound of energy consumption a m a x = 0.04 . Similar to [23], we define a concave utility function U ( c n ( t ) ) = l o g ( 1 + c n ( t ) ) , n N and ν = 1 .
Figure 3 presents the data queue dynamics with different V. As we can see from the figure, the larger the V, the longer the data queue length. This means that more data buffer is needed. After a period of time slot, the data queue is stable around a fixed value with small range of fluctuation, as shown in Equation (17). This means the BAN system is stable. In the initial stage, the data queue is very short, and the battery is fully charged. It can allow collecting a lot of data, so the data queues are growing very fast.
Figure 4 presents the energy queue dynamics with different V. As we can see from the figure, the energy queue is in a steady fluctuation. This is because the sensor consumes energy when it collects data and transmits data, and the process of harvesting energy is time varying and random. In addition, we can know that length of the energy queue will not exceed the capacity of the battery. In time slot t = 0 , the value of energy queue is equal to the battery capacity, that is, the battery is full of energy.
Figure 5 and Figure 6 present the time-average data queue length and energy queue length. From these figures, we can see that the time-average queue length increases linearly with the increase of weight V, as shown in Equations (16) and (17). From Figure 3, Figure 4, Figure 5 and Figure 6, we can get that the queue quickly stabilized around a time-average length. From Figure 5, Figure 6 and Figure 7, we can get that, if we want to get more user utility, we will need a longer data buffer and a larger battery capacity.
Figure 7 shows the user utility. Under different values of V ranging from 100 to 500, the user utility increases from 1.8 to 3.1. We can see that the user utility grows rapidly with the increase of V in the initial stage, and then the growth of user utility slows down. This shows that user utility is a concave function of V, as shown in Equation (18).

7. Conclusions

In this paper, we developed an online resource allocation algorithm for BANs that maximizes user utility subject to energy limitation. This algorithm is an online algorithm and does not require any a priori knowledge of the the energy harvesting process and data collection process. We consider that the energy harvesting technique in BANs and energy sources come from renewable energy, such as body heat and kinetic energy. To save the energy consumption, we use the sleeping mode. We use Lyapunov optimization approach to decompose the user utility optimization problem into three sub-problems, i.e., battery management, collecting rate control, and transmission power allocation. For the optimality gap and the bounds of energy queues, data queues have been derived. Simulation results test and verify the performance of BAN system, as well as the proposed algorithm.
For our future work, we plan to investigate channel allocation problem based on Game Theory of the BANs. We consider the interference between sensors. Moreover, the communication of health related information between sensors in BANs and over the internet to servers is strictly private and confidential, so we plan to investigate security and privacy.

Acknowledgments

This work was partially supported by The Fund of Graduate Student Independent Innovation Project (2017zzts624). It was also supported by the National Natural Science Foundation of China (61672540).

Author Contributions

G.W. and L.G. conceived and designed the experiments; G.W. performed the experiments; G.W. and J.W. analyzed the data; Z.C. contributed reagents/materials/analysis tools; G.W. wrote the paper.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A. Proof of Theorem 1

We can get Equation (A1) by squaring both sides of data queue, i.e., Equation (5). Similarly, we can get Equation (A2) from energy queue , i.e., Equation (6). By rearranging the equation, we have Equation (13):
1 2 [ ( I n ( t + 1 ) ) 2 ( I n ( t ) 2 ) ] 1 2 [ ( c n ( t ) ) 2 + ( z n ( t ) r n ( t ) ) 2 + 2 I n ( t ) ( c n ( t ) z n ( t ) r n ( t ) ) ] ( c n ( t ) ) 2 + ( z n ( t ) r n ( t ) ) 2 2 + I n ( t ) ( c n ( t ) z n ( t ) r n ( t ) ) ,
1 2 [ ( J n ( t + 1 ) Ω ) 2 ( J n ( t ) Ω ) 2 ] 1 2 [ ( h n ( t ) ) 2 + ( a n ( t ) ) 2 2 J ^ n ( t ) ( h n ( t ) a n ( t ) ) ] ( h n ( t ) ) 2 + ( a n ( t ) ) 2 2 J ^ n ( t ) ( h n ( t ) α c n ( t ) z n ( t ) p n ( t ) ) .

Appendix B. Proof of Theorem 2

The BANs system performs data scheduling only when there is sufficient energy in the energy queue. If J n ( t ) < a m a x , i.e., the length of energy queue is less than the total energy consumption, sensor n does not collect data, i.e., c n ( t ) = 0 . The user utility function U ( c n ( t ) ) is concave, thus, U 1 ( c n ( t ) ) and c n ( t ) are negatively correlated. According to Equation (14), sensor n does not collect data if I n ( t ) + α J ^ n ( t ) V ν U ( 0 ) . When J n ( t ) < a m a x , sensor n does not collect data, and we can set Ω = V ν α + a m a x .

Appendix C. Proof of Theorem 3

We prove Equation (17) by the inductive method. At t = 0 , I n ( 0 ) = 0 , Equation (17) holds. We assume that Equation (17) holds in time slot t, and we prove it holds in time slot t + 1 .
(1)
If c n ( t ) = 0 , i.e., sensor n does not collect data, we can get I n ( t + 1 ) I n ( t ) V ν + c m a x .
(2)
If sensor n collect data with rate c n ( t ) , we have V U ( c n ( t ) ) = I n ( t ) + J ^ n ( t ) α = I n ( t ) α ( J n ( t ) Ω ) , α ( J n ( t ) Ω ) 0 , so I n ( t ) V O ( C n ( t ) ) . ν is the maximum of the user utility function, I n ( t ) V ν . Furthermore, c n ( t ) c m a x , and we have I n ( t + 1 ) I n ( t ) + c m a x V ν + c m a x .
Thus, Equation (17) is proved.

Appendix D. Proof of Theorem 4

We use the comparative research method to prove Theorem 4. We use χ to denote the random algorithm. p χ ( t ) , c χ ( t ) , a n d h χ ( t ) denote the optimal solution of the random algorithm. a χ ( t ) represents the total energy consumption. r χ ( t ) represents the transmission data rate. According to Theorem 4.5 in [40], we can get the following inequalities:
E [ n N U ( c n χ ( t ) ) ] O + δ ,
E [ n N ( c n χ ( t ) r n χ ( t ) ) ] ϱ 1 δ ,
E [ n N ( h n χ ( t ) a n χ ( t ) ) ] ϱ 2 δ ,
where δ is a arbitrarily small parameter. ϱ 1 , ϱ 2 are constant scalars.
The proposed algorithm minimizes the right-hand side of the Lyapunov drift in Equation (13). From Equation (11), we can get
Δ ( t ) V E [ O ¯ ( t ) ] B + E [ D V ( t ) | Θ ( t ) ] B + E [ D V χ ( t ) ] B + ( ϱ 1 + ϱ 2 + 1 ) δ V U ,
where O ¯ denotes the user utility of proposed alogorithm. O denotes the user utility of algorithm χ . By setting δ to zero, we can get
Δ ( t ) V E [ O ¯ ( t ) ] B V O .
Taking expectations on both sides, we have
L ( T 1 ) L ( 0 ) T 1 T t = 0 T 1 E [ O ¯ ( t ) ] B V O .
L ( T 1 ) and L ( 0 ) are finite. Let T , we can get O ¯ O B V . Thus, Theorem 4 is proved.

References

  1. Sumita, M. Communique of the National Bureau of Statistics of People’s Republic of China on Major Figures of the 2010 Population Census(No.2). China Popul. Today 2011, 6, 24–25. [Google Scholar]
  2. Latre, B.; Braem, B.; Moerman, I.; Blondia, C.; Demeester, P. A survey on wireless body area networks. Wirel. Netw. 2011, 17, 1–18. [Google Scholar] [CrossRef]
  3. Cao, H.; Leung, V.; Chow, C.; Chan, H. Enabling technologies for wireless body area networks: A survey and outlook. IEEE Commun. Mag. 2009, 47, 84–93. [Google Scholar] [CrossRef]
  4. Qi, X.; Wang, K.; Yue, D.; Shu, L.; Liu, Y.; Zhao, H. Adaptive TDMA-based MAC protocol in energy harvesting wireless body area network for mobile health. In Proceedings of the IEEE 41st Annual Conference on Industrial Electronics Society, IECON 2015, Yokohama, Japan, 9–12 November 2016; pp. 4175–4180. [Google Scholar]
  5. Chen, M.; Gonzalez, S.; Vasilakos, A.; Cao, H.; Leung, V.C. Body Area Networks: A Survey. Mob. Netw. Appl. 2011, 16, 171–193. [Google Scholar] [CrossRef]
  6. Liu, B.; Yu, S.; Chang, W.C. Optimal resource allocation in energy harvesting-powered body sensor networks. In Proceedings of the International Symposium on Future Information and Communication Technologies for Ubiquitous Healthcare, Beijing, China, 28–30 May 2015; pp. 1–5. [Google Scholar]
  7. Elias, J. Optimal Design of Energy-Efficient and Cost-Effective Wireless Body Area Networks; Elsevier Science Publishers: Amsterdam, The Netherlands, 2014; pp. 560–574. [Google Scholar]
  8. Yick, J.; Mukherjee, B.; Ghosal, D. Wireless sensor network survey. Comput. Netw. 2008, 52, 2292–2330. [Google Scholar] [CrossRef]
  9. Jemili, I.; Belghith, A. Wireless Body Area Networks: Applications and Technologies. In Proceedings of the 2nd International Workshop on Recent Advances on Machine-To-Machine Communications, Madrid, Sapin, 9 May 2016; pp. 1274–1281. [Google Scholar]
  10. Elias, J.; Paris, S.; Krunz, M. Cross-Technology Interference Mitigation in Body Area Networks: An Optimization Approach. IEEE Trans. Veh. Technol. 2015, 64, 4144–4157. [Google Scholar] [CrossRef]
  11. Cavallari, R.; Martelli, F.; Rosini, R.; Buratti, C. A Survey on Wireless Body Area Networks: Technologies and Design Challenges. IEEE Commun. Surv. Tutor. 2014, 16, 1635–1657. [Google Scholar] [CrossRef]
  12. D’Andreagiovanni, F.; Krolikowski, J.; Pulaj, J. A fast hybrid primal heuristic for multiband robust capacitated network design with multiple time periods. Appl. Soft Comput. 2015, 26, 497–507. [Google Scholar] [CrossRef]
  13. D’Andreagiovanni, F.; Nardin, A.; Natalizio, E. A Fast ILP-Based Heuristic for the Robust Design of Body Wireless Sensor Networks. In Applications of Evolutionary Computation, EvoApplications 2017; Lecture Notes in Computer Science; Springer International Publishing: Cham, Switzerland, 2017; Volume 10199, pp. 234–250. [Google Scholar]
  14. Wu, J.; Chen, Z. Data Decision and Transmission Based on Mobile Data Health Records on Sensor Devices in Wireless Networks. Wirel. Pers. Commun. 2016, 90, 2073–2087. [Google Scholar] [CrossRef]
  15. Movassaghi, S.; Abolhasan, M.; Lipman, J.; Smith, D.; Jamalipour, A. Wireless Body Area Networks: A Survey. IEEE Commun. Surv. Tutor. 2014, 16, 1658–1686. [Google Scholar] [CrossRef]
  16. Mukhopadhyay, S.C. Wearable Sensors for Human Activity Monitoring: A Review. IEEE Sens. J. 2014, 15, 1321–1330. [Google Scholar] [CrossRef]
  17. Zhou, X.; Zhang, T.; Song, L.; Zhang, Q. Energy Efficiency Optimization by Resource Allocation in Wireless Body Area Networks. In Proceedings of the IEEE Vehicular Technology Conference (VTC Spring), Seoul, Korea, 18–21 May 2014; pp. 1–6. [Google Scholar]
  18. Zhang, D.; Chen, Z.; Ren, J.; Zhang, N.; Awad, M.; Zhou, H.; Shen, X. Energy Harvesting-Aided Spectrum Sensing and Data Transmission in Heterogeneous Cognitive Radio Sensor Network. IEEE Trans. Veh. Technol. 2016, 66, 831–843. [Google Scholar] [CrossRef]
  19. Hoang, D.C.; Tan, Y.K.; Chng, H.B.; Panda, S.K. Thermal energy harvesting from human warmth for wireless body area network in medical healthcare system. In Proceedings of the International Conference on Power Electronics and Drive Systems, Taipei, Taiwan, 2–5 November 2009; pp. 1277–1282. [Google Scholar]
  20. Panatik, K.Z.; Kamardin, K.; Shariff, S.A.; Yuhaniz, S.S.; Ahmad, N.A.; Yusop, O.M.; Ismail, S.A. Energy harvesting in wireless sensor networks: A survey. In Proceedings of the IEEE International Symposium on Telecommunication Technologies, Kuala Lumpur, Malaysia, 28–30 November 2016; pp. 53–58. [Google Scholar]
  21. D’Andreagiovanni, F.; Nardin, A. Towards the fast and robust optimal design of Wireless Body Area Networks. Appl. Soft Comput. 2015, 37, 971–982. [Google Scholar] [CrossRef]
  22. Liu, S.; Wang, K.; Guo, J.; Wang, Y.; Qi, X. Review on MAC Protocols in Energy-Harvesting Wireless Body Area Networks. In Proceedings of the International Conference on Identification, Information, and Knowledge in the Internet of Things, Beijing, China, 22–23 October 2015; pp. 303–304. [Google Scholar]
  23. Zhang, D.; Chen, Z.; Awad, M.K.; Zhang, N.; Zhou, H.; Shen, X.S. Utility-Optimal Resource Management and Allocation Algorithm for Energy Harvesting Cognitive Radio Sensor Networks. IEEE J. Sel. Areas Commun. 2016, 34, 3552–3565. [Google Scholar] [CrossRef]
  24. Zhang, D.; Chen, Z.; Cai, L.X.; Zhou, H.; Ren, J.; Shen, X. Resource Allocation for Green Cloud Radio Access Networks Powered by Renewable Energy. In Proceedings of the Global Communications Conference, Washington, DC, USA, 4–8 December 2017; pp. 1–6. [Google Scholar]
  25. Akhtar, F.; Rehmani, M.H. Energy Harvesting for Self-Sustainable Wireless Body Area Networks. IT Prof. 2017, 19, 32–40. [Google Scholar] [CrossRef]
  26. Liu, R.S.; Sinha, P.; Koksal, C.E. Joint energy management and resource allocation in rechargeable sensor networks. In Proceedings of the Conference on Information Communications, San Diego, CA, USA, 14–19 March 2010; pp. 902–910. [Google Scholar]
  27. Zhang, Y.; He, S.; Chen, J. Data gathering optimization by dynamic sensing and routing in rechargeable sensor networks. In Proceedings of the Sensor, Mesh and Ad Hoc Communications and Networks, New Orleans, LA, USA, 24–27 June 2013; pp. 273–281. [Google Scholar]
  28. Ghosh, A.; Meenakshi; Khalid, S.; Harigovindan, V.P. Performance analysis of wireless body area network with thermal energy harvesting. In Proceedings of the Communication Technologies, Thuckalay, India, 23–24 April 2015; pp. 916–920. [Google Scholar]
  29. Zhang, Y.; He, S.; Chen, J.; Sun, Y.; Shen, X.S. Distributed Sampling Rate Control for Rechargeable Sensor Nodes with Limited Battery Capacity. IEEE Trans. Wirel. Commun. 2013, 12, 3096–3106. [Google Scholar] [CrossRef]
  30. Huang, L.; Neely, M.J. Utility optimal scheduling in energy-harvesting networks. IEEE/ACM Trans. Netw. 2010, 21, 1117–1130. [Google Scholar] [CrossRef]
  31. Li, Y.; Shi, R. An intelligent solar energy-harvesting system for wireless sensor networks. Eurasip J. Wirel. Commun. Netw. 2015, 2015, 179. [Google Scholar] [CrossRef]
  32. Rao, S.; Mehta, N.B. Hybrid energy harvesting wireless systems: Performance evaluation and benchmarking. In Proceedings of the Wireless Communications and Networking Conference, Shanghai, China, 7–10 April 2013; pp. 4244–4249. [Google Scholar]
  33. Natalizio, E.; Loscri, V.; Viterbo, E. Optimal Placement of Wireless Nodes for Maximizing Path Lifetime. IEEE Commun. Lett. 2008, 12, 362–364. [Google Scholar] [CrossRef]
  34. Tsouri, G.R.; Alvaro, P.; Nikhil, A. On Increasing Network Lifetime in Body Area Networks Using Global Routing with Energy Consumption Balancing. Sensors 2012, 12, 13088–13108. [Google Scholar] [CrossRef] [PubMed]
  35. Elias, J.; Mehaoua, A. Energy-aware topology design for wireless body area networks. In Proceedings of the IEEE International Conference on Communications, Ottawa, ON, Canada, 10–15 June 2012; pp. 3409–3410. [Google Scholar]
  36. Chai, R.; Wang, P.; Huang, Z.; Su, C. Network lifetime maximization based joint resource optimization for Wireless Body Area Networks. In Proceedings of the IEEE International Symposium on Personal, Indoor, and Mobile Radio Communication, Washington, DC, USA, 2–5 September 2014; pp. 1088–1092. [Google Scholar]
  37. Khan, A.W.; Khan, A.A.; Basit, A.; Siddiqui, S.; Salam, A. Achieving energy efficiency in Body Area Networks (BAN’s) through avoiding spatially correlated contention. In Proceedings of the International Conference on Information and Communication Technologies, Karachi, Pakistan, 12–13 December 2016; pp. 1–5. [Google Scholar]
  38. Singh, K.; Singh, R.K. An energy efficient fuzzy based adaptive routing protocol for Wireless Body Area Network. In Proceedings of the Electrical Computer and Electronics, Allahabad, India, 4–6 December 2016; pp. 1–6. [Google Scholar]
  39. Movassaghi, S.; Majidi, A.; Jamalipour, A.; Smith, D.; Abolhasan, M. Enabling interference-aware and energy-efficient coexistence of multiple wireless body area networks with unknown dynamics. IEEE Access 2016, 4, 2935–2951. [Google Scholar] [CrossRef]
  40. Neely, M. Stochastic Network Optimization with Application to Communication and Queueing Systems; Synthesis Lectures on Communication Networks; Morgan and Claypool Publishers: San Rafael, CA, USA, 2010; Volume 3, p. 211. [Google Scholar]
  41. Shen, Q.; Zhuang, W. Energy efficient scheduling for delay constrained communication in wireless body area networks. In Proceedings of the IEEE Global Communications Conference, Anaheim, CA, USA, 3–7 December 2012; pp. 262–267. [Google Scholar]
  42. Kennington, J.; Olinick, E.; Rajan, D. Wireless Network Design: Optimization Models and Solution Procedures; Springer: New York, NY, USA, 2010; pp. 179–184. [Google Scholar]
  43. Resende, M.G.C.; Pardalos, P.M. Handbook of Optimization in Telecommunications; Springer: New York, NY, USA, 2006. [Google Scholar]
  44. D’Andreagiovanni, F.; Mannino, C.; Sassano, A. GUB Covers and Power-Indexed formulations for Wireless Network Design. Manag. Sci. 2013, 59, 142–156. [Google Scholar] [CrossRef]
Figure 1. Body area network architecture.
Figure 1. Body area network architecture.
Algorithms 11 00014 g001
Figure 2. Parameters update diagram of the algorithm.
Figure 2. Parameters update diagram of the algorithm.
Algorithms 11 00014 g002
Figure 3. Data queue dynamics.
Figure 3. Data queue dynamics.
Algorithms 11 00014 g003
Figure 4. Energy queue dynamics.
Figure 4. Energy queue dynamics.
Algorithms 11 00014 g004
Figure 5. Time-average data queue length.
Figure 5. Time-average data queue length.
Algorithms 11 00014 g005
Figure 6. Time-average energy queue length.
Figure 6. Time-average energy queue length.
Algorithms 11 00014 g006
Figure 7. User utility versus V.
Figure 7. User utility versus V.
Algorithms 11 00014 g007

Share and Cite

MDPI and ACS Style

Wu, G.; Chen, Z.; Guo, L.; Wu, J. An Optimal Online Resource Allocation Algorithm for Energy Harvesting Body Area Networks. Algorithms 2018, 11, 14. https://doi.org/10.3390/a11020014

AMA Style

Wu G, Chen Z, Guo L, Wu J. An Optimal Online Resource Allocation Algorithm for Energy Harvesting Body Area Networks. Algorithms. 2018; 11(2):14. https://doi.org/10.3390/a11020014

Chicago/Turabian Style

Wu, Guangyuan, Zhigang Chen, Lin Guo, and Jia Wu. 2018. "An Optimal Online Resource Allocation Algorithm for Energy Harvesting Body Area Networks" Algorithms 11, no. 2: 14. https://doi.org/10.3390/a11020014

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop