WBSN in IoT Health-Based Application: Toward Delay and Energy Consumption Minimization

. The wireless body sensor network (WBSN) technologies are one of the essential technologies of the Internet of things (IoT) growths of the healthcare paradigm, where every patient is monitored through a group of small-powered and lightweight sensor nodes. Thus, energy consumption is a major issue in WBSN. The major causes of energy wastage in WBSN are collisions and retransmission process. However, the major cause of the collision happened when two sensors are attempting to transmit data at exactly the same time and same frequency, and the major cause of the retransmission process happened when the collision takes place or data does not received properly due to channel fading. In this paper, we proposed a cognitive cooperative communication with two master nodes, namely, as two cognitive master nodes (TCMN), which can eliminate the collision and reduce the retransmission process. First, a complete study of a scheme is investigated in terms of network architecture. Second, a mathematical model of the link and outage probability of the proposed protocol are derived. Third, the end-to-end delay, throughput, and energy consumption are analyzed and investigated. The simulation and numerical results show that the TCMN can do system performance under general conditions with respect to direct transmission mode (DTM) and existing work.


Introduction
1.1.Introduction to IoT Health-Based Application.Now, IoTs are one of the most powerful communication standards of the 21st century.In the IoT environment, all objects in our daily life become part of the Internet due to their communication and computing capabilities.IoT spreads the thought of the Internet and makes it much universal.IoT lets all-inone communications among various kinds of electronic devices [1,2].Hence, the IoTs have become more creative in some fields, for example, healthcare technologies.In healthcare technologies, IoTs involved numerous types of inexpensive sensors, wearable and implanted, that allow old persons to enjoy current medical healthcare services everyplace, any time, and it improved old persons' quality of life [3][4][5][6][7].In this work, we proposed new architectures of the IoT health-based application that consists of five stages which depicted in Figure 1.Each stage of this architecture is further explained in more detail as follows.
(1) The WBSN Stage (Stage 1).In this stage, some sensors are placed on the human body sewed into fabric (wearable sensors) or implanted under the skin (inbody sensors).These sensors can be electroencephalogram (EEG), electrocardiogram (ECG), electromyography (EMG), or blood pressure measuring sensors.The data recorded by the sensors are sent to the master node (MN) via wireless 802.15.6 standard, then MN transfers data to the local processing unit (such as smart phone, tablet, and computer) through wireless medium, and then local processing unit (LPU) forwards the data to the next stage In this stage, it provides healthcare services to patients.The data may be transferred to doctors or hospitals and transferred to intermediate family In this work, we enhance the IoT health-based application at stage 1.Sensors in WBSN utilize wireless medium to exchange their data, where existence of the human body could disturb the transmission between sensors over wireless medium, resulting to a definite and special radio propagation that should be appropriately considered for in the design of algorithms in the WBSN systems.In addition, the necessity for efficient power consumption shall be addressed through power control solutions due to repeated battery replacing not practical, which is a very hard job for implanted sensor node [8,9].
One of the most suitable layers to deal with IoT healthbased WBSN system challenges is the physical layer.In the physical layer, there are many techniques which can enhance the network performance, such as modulations, channel coding, channel estimation, network coding, and virtual diversity [10,11].In this paper, we are interested in the latter one (virtual diversity) because it is considered as a plug and play technique.Virtual diversity can be achieved through cooperative communication; the on-body sensors work together to deliver the data efficiently to the MN.There is a rich literature on cooperative communication in different network systems, but a few work has been done in the IoT health-based WBSN systems.
With the fast deployment of wireless facilities for the last decade, the radio spectrums have become a valued and limited resource.Furthermore, the Federal Communications Commission has reported that most of the licensed spectrum is roughly underutilized.As a promising method, a cognitive radio (CR) is proposed to address the dilemma between spectrum shortage and spectrum underutilization.CR lets unlicensed users to access licensed slots or subchannels while taking into account the effect of interference on the licensed users.Thus, it should not exceed the tolerable interference threshold [12].Therefore, the underlying approach is utilized, where the unlicensed users are allowed to utilize the licensed slots or subchannels with only a limited transmission power to prevent the interference of unlicensed users from exceeding the interference threshold that the licensed user can tolerate [13].
1.2.Literature Review.To date, a few number of researches have been performed on the cognitive cooperative communication for WBSN.Jingling et al. [14] have made an attempt to enhance the capacity of the WBSN system through CR.Nazir and Sabah [15] studied a hybrid power control and resource block allocation game for the cooperative wireless BAN.The cost function for WBSN is derived and used to analyze the optimal power allocation on assigned resource blocks. 2 Journal of Sensors Chavez-Santiago et al. [16] proposed a CR-based solution for a medical BAN (MBAN), and then they studied and investigated the proposed method over the PHY and MAC layers.
The proposed method is relied on the utilizing of ultrawideband (UWB) with IEEE 802.15.6 standard.Furthermore, the cognitive capabilities are applied in the BNC utilizing two UWB modalities.Syed and Yau [17] presented two architectures and two state-of-the-art applications of CR (i.e., electromagnetic interference (EMI) reduction as well as QoS improvement).Januszkiewicz [18] proposed a simplified human body system that is utilized for radio channel discovering in BSN.The objective of the proposed model is used in measurements of cognitive radio channel parameters.Shaikh and Tamil [19] proposed a telemedicine platform architecture consisting of three tiers.The first tier consists of BSN with a gateway, and the communication technology used in this tier is UWB.The cognitive radio controller and the gateway integrated together form the next tier of the architecture.The third tier of the architecture is the communication link between the mobile vehicle and the hospital, which refer to the cognitive radio-enabled communication model.The proposed platform improved the performance discovering free spectrum in both urban and suburban environments.Mahbub et al. [20] analyzed the outage probability using decode and forward cognitive relaying over Rician fading channels, with respect to an interference temperature limit and distance between primary and secondary nodes.1.
Nevertheless, the works in [14][15][16][17][18][19][20][21][22][23] have not investigated the collected data nature that shown to be an important issue in IoT health-based network.It also noted that the works did not take into account the quality of service, reliability, and delay; they are the main factors that determine the performance of the IoT health-based WBSN systems.In addition, the interference constraint in the underlying approach has not been considered for CRBSNs.
To address the previous-mentioned issues and facilitate cognitive cooperative communication in WBSN, we proposed two cognitive master nodes (TCMN) based on the IEEE 802.15.6 CSMA policy.The contributions of this work are summarized as follows: (1) We propose two master node architectures with cognitive cooperative communication which involve the master nodes in cooperation; thus, the on-body sensors are not involved in cooperation as traditional cooperative communication does (2) In addition, master nodes are involved in the spectrum sensing and selecting free available spectrum which are considered a major cause of the battery consumption in WBSN; thus, the on-body sensors are not involved in the spectrum sensing as traditional CRBSNs do (3) The proposed protocol supports multiple data (traffics), critical and normal traffics; critical traffics are transmitted over cognitive cooperative communication and normal traffics are transmitted over cognitive direct transmission (4) We reveal that the TCMN can enhance the endto-end delay, throughput, and energy consumption compared to direct 802.15.6 standard and existing work The rest of the paper is outlined as follows: system model and architecture and the new proposed architecture are presented in Section 2. Section 3 investigates the new architecture under the licensed spectrum and describes the proposed protocol.Then, modeling and formulating signal-tonoise ratio, outage probability, and critical data index of TCMN in detail are described in Section 3. In Section 4, e2e delay, throughput, and energy consumption of TCMN are inspected, formulated, and analyzed.Simulation and numerical results are addressed in Section 5. Finally, Section 6 draws the conclusion and future work.

WBSN Network Architecture
First traditional WBSN network architecture is shown in Figure 1.Several sensors homogeneously distributed on/off the human body to look up the health signs, and each of the sensor collects and sends data to the MN.Thus, WBSN is a single-hop topology; all the nodes forward gathered information to the MN.The MN then transmits what was received from the sensors to the LPU; the MN either analyzed the obtained information or retransmitted it over wireless medium to the next stage as shown in Figure 1.In the WBSNs, it must take into account the number of physical environments, because the WBSN is organized on or in the body.In addition, the nodes attached to the body will be mobile-owning human body mobility.Thus, the distances among the sensors and MN are variable.Therefore, several sensors may be far away from the MN; therefore, delivering data appropriately to the MN directly is difficult.
Then, in Figure 2(b), a new WBSN network architecture is designed, two masters-slave network architecture.One of the MNs is fixed on the human body, and it is carried on the belt, named as master node 1 (MN1).The other master node (which is shown in Figure 1 as LPU) works as a monitoring node and can receive data sent by the sensor as MN1 can, 3 Journal of Sensors and it is denoted as the master node 2 (MN2).Due to the mobility of the human body, the distances among the sensor and two MNs vary, where several sensors may be located at a short distance toward the outer MN, while large distance toward the on-body MN and vice versa.Thus, several sensors may have better channel quality with respect to the MN2 than to the MN1.The new network architecture can significantly move the resending process from the sensors to the MNs compared to the traditional cooperative communication.Thus, new architectures could reduce delay and reduce contention between the sensors which could achieve better energy saving.
Journal of Sensors In Figure 3, two master node architectures in the licensed spectrum are designed.The cellular networks represent the primary network, and the WBSN represents the secondary network that delivers the data utilizing DF method.The CRBSN sensors utilize the underlying method of spectrum sharing with the primary users, i.e., simultaneous primary and secondary transmissions take place only if the interference produced by the secondary user at the primary receivers is under some tolerable threshold.
The advancement in electronics, wireless communications, and integrated circuits has allowed the development of transceiver, which leads to have a multiple transceiver on the single sensor node.In CRBSN, master nodes regularly search for the available spectrum to estimate spectrum availability.Nevertheless, such regular search significantly maximizes the energy consumption of energy-limited system powered via batteries [24].Consequently, duty of the spectrum sensing is assigned to the master nodes instead of sensors, because the master nodes are embedded with bigger batteries and are replaceable.
In the CRBSN, the primary source (PS) transmits data to the primary receiver (PR), and over the same frequency band, a secondary source sensor (SS) sends a data to a secondary destination, such as MN2 (in this paper, the final destination node is MN2).While MN1 acts as a secondary relay, MN1 helps the SS in sending the data to MN2.The objective of utilizing the licensed spectrum by on-body sensors and master nodes is to avoid the collision due to transmission at the same time and the same frequency.
In what follows, we denoted the channel coefficient of the data links between SS to MN2, SS to MN1, and MN1 to MN2 as h s,mn2 , h s,mn1 , and h mn1,mn2 , respectively; in addition, we denoted the channel coefficient of the interference links from SS to PR, PS to MN1, PS to MN2, and MN1 to PR as h s,r , h p,mn1 , h p,mn2 , and h mn1,r , respectively.

Formulation of the Proposed Protocol
In this section, the model of the links between sensors and master nodes is provided, and then based on the link model, the outage probability is analyzed and investigated over underlay cognitive cooperative communication and incorporating with analysis the normal and critical traffics.
3.1.Link and Outage Probability Analysis.In CRBSN, the sensor (SS) and master node (MN1) must adapt their transmit powers below an interferance threshold so that they should not create any interference for the primary receiver (PR).Simultaneously, since PS, SS, and MN1 are sharing the same channel, transmit power of PS also causes interfarence to the WBSN network.Thus, the minimum transmit power of secondary SS and MN1 can be expressed as follows: where P ss and P mn1 are the maximum transmit powers of SS and MN1, respectively; I s,r and I mn1,r are interference threshold from SS to PR and interference threshold from 5 Journal of Sensors PS to MN1, respectively.As a result, the signal-to-noise ratio at MN2 can be expressed as follows: , 3 where P ps and P N are the transmission powers of the PS and noise power, respectively.Similarly, the signal-tonoise ratio at MN1 due to transmission from SS and the signal-to-noise ratio at MN2 due to transmission from MN1 are expressed, respectively, as follows: γ s,mn1 = P ss h s,mn1 P N + P ps h p,mn1 , 4 The outage probability from node i to node j can be expressed as follows: where γ i,j = h i,j γ i,j .Hence, the channel gain h i,j is an exponential distributed random variable with the mean value i,j is the distance between nodes i and j, and ρ is the path loss exponent.The outage probability of the incremental cooperative communication of the two master node-slave architectures can be expressed as follows: P out coop = P out s,mn2 P out s,mn1 + 1 − P out s,mn2 P out s,mn1 P out mn1,mn2 7 With the help of (6), we can obtain (7) as follows: Inserting (4), ( 5), and ( 6) in ( 8), we obtain the outage probability under interference constraint.

Multiple Traffic Transmissions over TCMN.
Incremental cooperative communication with multiple traffics for WBSN is proposed in our previous work [25], which discussed a transmission selection issue to support both normal and critical traffics.However, cognitive cooperative communications with multiple traffics are not considered in [25].In this paper, we continue to study the incremental cooperative communication with multiple traffics for WBSN to improve the throughput and energy consumptions.The TCMN supports multiple traffics, such as critical and normal; thus, the successful transmission probability of multiple traffics using TCMN, then, can be expressed as follows:  Journal of Sensors where P X is a critical data event.The critical data is sent either over a DTM, that represented by SS to MN2, or over CTM, that represented by SS to MN1, then MN1 to MN2.P Y is a normal data event and it is over DTM.Thus, P X expressed as follows: where P s coop = 1 − P out coop is the successful transmission probability of the CTM, and CI is the critical data index and is expressed as follows: where ξ max is the maxmum critical data index (= 7), which represents highest user priority index [26]; ξ min is the predefined value and it is the minimum critical data index that changes from 0 to 7. Consequently, CI is changed from 0 to 1, where ξ min depends on the collected data from the human body; if the data critical, then ξ min is high and converse.Plugging ( 8) and ( 11) in (10), we can obtain P X as follows: In the same way, the normal data event P Y is given as follows: Plugging ( 13) and ( 12) in ( 9), we obtain TCMN probability.

Delay and Energy Consumption
Analysis of TCMN 4.1.Delay Formulation and Analysis of TCMN.Generally and traditionally, the average e2e delay, T e2e , of the TCMN will not include the average contention time due to collision because sensors use different spectrums.Thus, average e2e delay is expressed as follows: where T suc is the average successful time with no collision and no fading, and then it is expressed as follows:  15) comprises of double terms.The first term is e2e required time of the transmission when the collected data by the SS were critical, while the second term is e2e required time of the transmission when the collected data by the SS were not critical.It is clear from (15) that as the CI approaches to "1," then either T s,mn2 act is the required time for sending the data or T s,mn2 act + T mn1,mn2 act is the required time for sending data to the destination.However, as the CI approaches to "0," then T s,mn2 act is the required time for sending data to the destination.T mn1,mn2 act is the RF activity time of serving the on-body sensor data.Consequently, the average failure time due to fading can be expressed as follows [27]: Moreover, T act is the RF activity time, which can be expressed as follows [28]: where T data is the time required to send data packet, and then it is expressed as follows: The transmission time required for ACK can be expressed as follows: The transmission rate of the PHY, MAC headers, and payload are depending on the channel condition between 7 Journal of Sensors nodes [27], where R ate of the TCMN is given as follows: where R max is the maximum data rate of IEEE 802.15.6 standard and it is 75 9 Kbps.

TCMN Gain Evaluation.
To compare the achievable gain of two master node architectures using license spectrum in the underlying approach, we define the achievable gain G ain as the reduction in the delay of WBSN with two master nodes utilizing license spectrum.In what follows, G ain can be expressed as follows: where T new e2e is the e2e delay of the proposed protocol and is given in ( 14), and T old e2e is the e2e delay of traditional incremental cooperative communication [28], which is expressed as T old e2e = T suc + T fail + T c , where T c is the time due to collision.With the above definition, G ain = 0 means that the delay of WBSN with two master nodes by utilizing license spectrum and traditional incremental cooperative communication is the same, while G ain = 1 means that delay reduced doubles compared to traditional incremental cooperative communication.
The distance between on-body nodes is chosen randomly; in addition, the distance from the on-body nodes to primary nodes is also chosen randomly.As expected and shown in Figure 4, the gain of the proposed protocol is related to the distance between SS and MN2.Based on the results shown, we can derive the conclusion that TCMN is capable of enhancing the system performance significantly.However, such benefits highly depend on the network topology and link quality.

Energy Consumption of TCMN.
The throughput of the TCMN has been investigated in this section.The throughput  Journal of Sensors between i and j nodes of TCMN is expressed as follows [29]: where E P is average the transmission time for the payload bits.Let L be the packet size (in bytes) and the data rate utilized in transmitting packet is η TCMN .At the same time, the time to transmit one packet is L/η TCMN , and accordingly, the energy consumed at SS for transmitting one packet is P ss L/η TCMN in which P ss is the transmit power used by P ss .As explained earlier, links of wireless network are prone to losing packets.Hence, it is possible that a packet will not reach the receiver until it is retransmitted several times.For this reason, we utilize φ to represent the number of transmissions performed by SS for the same packet.Therefore, the energy consumed by SS to transmit a packet can be expressed as follows [30]: where φ = 1/P CDT−CMN , and plugging ( 1) and ( 21) in (22), we obtain the energy consumed by SS using the TCMN protocol.

Simulation and Discussion
In our simulations, WBSN sensors and cellular users are colocated in the same cell and they distributed over a circle area with a radius of 300 m, and the cellular base station is located in the cell center.Furthermore, an arbitrary topology has been taken into account, where sensors are arbitrarily distributed in 3 5 × 3 5 square area in m 2 ; a number of the sensors are fixed in this area.The destination is located at the center of the human body area 0, 0 , and the source is located at d s,mn2 , 0 .The numerical parameter used in this paper is given in Table 2. Figure 5 shows the comparison of outage probability of the DTM, ICCM, and TCMN as a function of d s,mn2 .In general, the outage probability of the ICCM and TCMN achieves better performance compared to the DTM.But, we can see that the ICCM achieves better performance than TCMN due to interference limitation.Furthermore, the outage performance of the TCMN improves when WBSN sensors are located far away from cellular users (PR and PS).Similarly, the outage performance of the TCMN improves when interference threshold (I thd ) is low.Based on the above results, we can derive the conclusion that TCMN improves when the WBSN sensors are located far away from the cellular users and the interference threshold is low.(1) Both the e2e delays of DTM and ICCM decrease and become similar to each other for the low d s,mn2 .On the other hand, we can see that the e2e delay of ICCM is better than DTM when d s,mn2 is large (2) However, the results show that the e2e delay of the TCMN protocol is less compared to the DTM and ICCM because the average time due to collision term is omitted according to (14) (3) As expected, the e2e delay of the TCMN reduces when WBSN sensors are located far away from cellular users (PR and PS) (4) The e2e delay of the TCMN reduces when interference threshold (I thd ) is low (5) The e2e delay of the TCMN is less with respect to DTM and ICCM by ratios 47% and 51.5%, respectively Figure 7 shows the comparison of throughput of the DTM, ICCM, and TCMN as a function of d s,mn2 .We can notice from the figure that the throughput of the TCMN outperforms the DTM and ICCM.Furthermore, it can be seen from the results that the ICCM outperforms the DTM.The throughput of the proposed protocol increased with respect to DTM and ICCM by ratios 49% and 52%, respectively.
Figure 8 shows the comparison of energy consumption of the DTM and ICCM protocols as a function of d s,mn2 .It is observed from the figure that the ICCM achieves the lowest energy consumption, compared to the DTM.As expected, the energy consumption is reduced as the distance of SS − MN2 is reduced.Furthermore, it can be seen from the results the energy saving of ICCM with respect to DTM by a ratio of 3%.
Figure 9 shows the comparison of energy consumption of the TCMN as a function of d s,mn2 , I thd , and d * .From the result, as I thd and d * grow, the energy consumption per sensor is reduced and vice versa.In addition, as thed s,mn2 increases, the energy consumption per sensor is    increases.Furthermore, it can be seen from the results the energy saving of TCMN with respect to ICCM and DTM by a ratio of 99%.
The outage probability and throughput of the TCMN as a function of the ξ min are plotted in Figures 10 and 11, respectively.The main objective of the proposed protocol is to deliver the critical data to the destination efficiently.Therefore, Figures 10 and 11 show that as the critical data index increases, the TCMN reduces the outage probability and increases the throughput to deliver the data efficiently.

Conclusion
In this paper, a novel cognitive cooperative communication with two master node protocols for WBSN is proposed that taken into consideration the nature of the collected data.The proposed protocol is based on the IEEE 802.15.6 CSMA policy under fading channel model and is named as TCMN.The objective of the proposed protocol can be summarized as follows: first, reduce the retransmission process and shift it to the master nodes; second, reduce the collision through utilizing licensed spectrum; and third, sensor node protocols remain the same because all the updates are done on the master nodes.The proposed protocol achieved a better transmission quality for the critical data.Furthermore, the TCMN can substantially reduce the outage probability, e2e delay, throughput, and energy consumption, compared to DTM IEEE 802.15.6 CSMA and ICCM.To this end, we have shown that the energy saving of the TCMN is 99% with respect to DTM and ICCM under IEEE 802.15.6 CSMA.In future work, we will design and investigate a MAC protocol for inter-WBSN cooperation.

( 2 ) 3 ) 4 ) 4 ( 5 )
The Bridge Stage (Stage 2).In this stage, the data transfer from stage 1 to stage 2 over one of the selected wireless communication technologies which could be access point, Wi-Fi, or cellular base station.Stage 2 represents as the bridge to connect the WBSN to the infrastructure Internet and sometimes located within room or outdoor.Collected data from this stage is required to be transferred to stage 4 in order to be stored and analyzed for the final destination (The Internet Stage (Stage 3).In this stage, bridge the gap between stage 2 and stage 4 via either exiting wireless technology or guided medium such as fiber optics (Data Storage and Analyzing Stage (Stage 4).In this stage, the data is stored and analyzed to make final decision where the data have to go or it should kept at stage Healthcare Service Stage (Stage 5).

Figure 3 :
Figure 3: Two master nodes under license spectrum.

Figure 5 :Figure 6
Figure 5: Comparison of outage probability of DTM, ICCM, and TCMN with internode distance of SS − MN2 link.In all cases, ξ min is 6, ρ is 4, P N is −70 dB , and δ c is 5.

Figure 6 :
Figure 6: Comparison of e2e delay of DTM, ICCM, and TCMN with internode distance of SS − MN2 link.In all cases, ξ min is 6, ρ is 4, and P N is −70 dB .

Figure 7 :Figure 8 :
Figure 7: Comparison of throughput of DTM, ICCM, and TCMN with internode distance of SS − MN2 link.In all cases, ξ min is 6, ρ is 4, and P N is −70 dB .

Figure 9 :Figure 10 :
Figure 9: Comparison of energy consumption of TCMN with internode distance of SS − MN2 link.In all cases, ξ min is 6, ρ is 4, and P N is −70 dB .

Figure 11 :
Figure 11: Comparison of throughput of TCMN with ξ min .In all cases, ρ is 4 and P N is −70 dB.

Table 1 :
Comparison of the state-of-the-art work.