Next Article in Journal
EPSim-C: A Parallel Epoch-Based Cycle-Accurate Microarchitecture Simulator Using Cloud Computing
Previous Article in Journal
Planar Textile Off-Body Communication Antennas: A Survey
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Bidirectional Polling MAC Mechanism for IoT

School of Information Science and Engineering, Yunnan University, Kunming 650000, China
*
Author to whom correspondence should be addressed.
Electronics 2019, 8(6), 715; https://doi.org/10.3390/electronics8060715
Submission received: 3 May 2019 / Revised: 19 June 2019 / Accepted: 20 June 2019 / Published: 24 June 2019
(This article belongs to the Section Computer Science & Engineering)

Abstract

:
The Point Coordination Function (PCF)-based access control mechanism in IEEE 802.11 allows an access point to schedule stations in order to avoid hidden nodes and collisions. However, nearly all existing performance analysis models focus on the single-directional communication scenario, and these polling mechanisms consume a significant amount of energy resources. This study proposes a hybrid service bidirectional polling access control mechanism for transmission between an AP and N stations. To improve energy efficiency, the downlink data queue is assigned after all the uplink station queues, which allows the uplink station to sleep after it completes the data transmission, and it can remain in the sleep state until the downlink begins to broadcast. Then, a classical two-queue asymmetrical polling model is employed to analyze the performance of the PCF-based bidirectional access control system, and a Markov chain and generating function are used to derive a closed-form expression of the mean access delay for the uplink and downlink data. Simulations confirm that the proposed MAC mechanism could provide a maximum energy consumption reduction to 70% for 80 stations with respect to the limited-1 service mechanism in IEEE 802.11a PCF and the two-level polling model. Our analytical results are highly accurate for both homogeneous and heterogeneous traffic.

1. Introduction

Recent years have witnessed the expansion of Internet of things (IoTs) applications into healthcare services, mining, transportation, and many other industrial areas [1,2]. Many studies have focused on IoT applications. For example, Hina Magsi et al. combined 5G technology with the IoT and used it to improve the quality and efficiency of wearable healthcare devices [3]. Ali H. S. et al. proposed a joint transmission power control and duty-cycle approach for body sensor networks (BSNs) to achieve energy saving [4]. Moreover, to improve time efficiency and achieve a trade-off between medical data security and resource consumption of sensor nodes in wireless body sensor networks (WBSNs), a biometric random binary sequence (RBS) generation technique was implemented on the basis of inter-pulse intervals of heartbeats [5]. However, compared with traditional wireless systems, wireless communication for IoT applications has stringent performance requirements. The media access control (MAC) protocol is the key to successful data collection with low energy consumption. Carrier-sense multiple access with collision avoidance (CSMA/CA) is the most widely used protocol in wireless networks such as wireless local area networks (WLANs), wireless sensor networks (WSNs), and ad hoc networks. Although certain technologies, such as restricted access window, are used to mitigate the hidden node problem in 802.11ah [6], large outdoor networks in IoT applications create additional hidden nodes because the path loss between stations is greater than that between a station and an access point (AP). The polling-based scheduling MAC protocol is regarded as an effective alternative to CSMA, as it can ensure fair and collision-free data forwarding from all nodes and thus reduce energy loss [7]. The AP schedules stations by using a polling protocol such as centralized Time division multiple access (TDMA). Further, it maintains a polling list to determine which stations are eligible to access the network, so that it can provide high-quality services [8].
Although numerous studies have investigated the centralized control IoT MAC protocol, such as PCF (Point Coordination Function), HCCA (Hybrid Coordination Function Controlled Channel Access) [9], only a few literatures have investigated analytical methods for accurate evaluation of the network performance. A number of polling models are employed to exclusively calculate the performance imposed by the centralized MAC protocols [10], but these models seldom take the resource occupied by the downlink data into account, i.e., there is no downlink queue at the sever-side, which is inconsistent with the actual scenario. Therefore, it is in strong demand to investigate the performance of polling models with bidirectional queues.
Based on the classical gated polling model, we propose a theoretical model for the hybrid service bidirectional polling (HBPOLL) access protocol, that involves separate uplink and downlink data access processes with a power management scheme. For accurate analysis of the delay, throughput, and energy efficiency performance of this protocol, an equivalent two-queue polling system is used to simplify the analytical process, and a Markov chain and generating function method is used to derive a closed-form expression of the mean access delay for the uplink and downlink data.
Nearly all of the previously studied polling models focused on single-directional communication and they rarely involved downlink transmission. Therefore, compared with previous studies, our study has two main distinguishing aspects. First, the HBPOLL MAC protocol, a polling-based MAC protocol, is specifically designed for a half-duplex access network. It is more consistent with actual communication and shows better performance in terms of energy saving compared to the classical cycle-duty polling pattern in IEEE 802.11. Second, we use a Markov chain and generating function to derive the closed-form expression of the mean access delay for data links.
The designs and implementation of HBPOLL are guided by the following objectives:
Unbalance bidirectional outdoor transmission: Large outdoor networks in IoT applications create additional hidden nodes. Thus, a centralized scheduling MAC protocol is required in the network.
Energy consumption saving: There are numerous nodes in the IoT. Energy consumption due to idle listening in the polling-based MAC protocol will increase with the network scale. An energy saving mechanism should be implemented.
Theoretical analyses: A scalable and general theoretical analysis model is required to develop a mechanism for rapid network performance assessment.
The primary contributions of this study are as follows:
  • Proposal of a hybrid service bidirectional MAC based on a polling mechanism with low power consumption.
  • Modeling of a bidirectional data access network as a two-queue asymmetric polling system for packet queuing formulation.
  • Modeling of uplink and downlink data flow as two M/G/1 queues with gated service.
  • Use of a Markov chain and generating function to derive the closed-form expression of the mean access delay for the data links in both directions.
  • Validation of the proposed mechanism and analysis model via simulation.

2. Related work

Polling-based MAC protocols have attracted considerable attention in recent years. Dawson et al. extended the adaptive polling access control mechanism to optical wireless networks (OWNs), which are visible-light communication (VLC) networks [11]. To overcome the problems of poor scalability and large overhead under low traffic load, many studies have investigated the application and analysis of the polling system as well as optimization of the system model from the perspectives of arrival process, service strategy, and query path [12,13,14,15,16,17]. Yuichi et al. used a genetic algorithm to control the transmission time of all polling-based communication in IoT applications [18]. Further, a localized polling (LocP) protocol was proposed [19] to collect information from a desired subset of interrogated tags in large-scale radio-frequency identification (RFID) systems. Among the extensive literature available on the IoT MAC protocol, only a few studies have investigated analytical methods for accurately evaluating the network performance. Fan et al. derived an analytical model to evaluate the throughput of the IEEE 802.11 distributed coordination function (DCF) in a simulcast radio over fiber—distributed antenna system (RoF-DAS) with fiber links of different lengths [20]. However, in terms of the polling-based MAC protocol, most of these studies have only provided approximations or focused on pseudo-conservation laws [21,22,23].
Most mathematical analysis methods for polling models are tedious and complex. Li et al. used the classic M/G/1 vacation model to analyze the delay performance of the point coordination function (PCF) in a straightforward forward manner [24]; however, it is restricted to polling systems with limit-1 service. Hongwei et al. implemented a multiple priority polling model and implemented it using a field-programmable gate array (FPGA) [10]. For most existing analysis models, consumption of the system resources on the server side and its impact on system performance have not attracted much attention, and the service process of the server queue has not been discussed extensively. However, in applications such as environment and health monitoring, actual networks have both uplink and downlink data communication, and the channel resources will be consumed in the process of bidirectional data transmission. Therefore, the process of system modeling analysis for server queues corresponding to downlink data transmission should not be ignored. Yang et al. proposed a two-level polling service model consisting of a central queue (server queue) and N common queues to calculate the mean waiting time with the PCF mechanism [25]; the server queue interrupts after each station queue during the contention-free period (CFP), thereby ensuring high priority of the server queue. As downlink transmission occurs during the total CFP, stations have to remain active to listen to the channel, which leads to high power consumption.

3. Hybrid Service Bidirectional Polling Mechanism (HBPOLL)

3.1. Network Model

The network adopts a central control structure composed of a single AP and N (N > 1) remote sites located at the base station (BS); in an ideal channel, the data is transmitted only between the station and the AP using the polling access method.
Figure 1 shows the working framework of HBPOLL. In the first stage, information is collected. The AP initiates each cycle of the protocol by sending a beacon packet. After the beacon is received, the nodes registered under the current AP will send an information packet to announce the uplink packet amounts in a predefined order to the AP. The uplink payloads from all nodes are accumulated by the AP, and each node will be informed about the total payload in the next stage. In the second stage, i.e., uplink transmission, the AP polls each node according to the predefined order with a CF_Poll frame. This packet contains two-fold information: The residual uplink payload (in time) and the node ID that indicates which node should transmit its data to the AP. The polled node transmits the data packets that have been declared in the information packet and updates its Network Allocation Vector (NAV) according to the residual uplink payload. It will go to sleep until the NAV decrease to zero. On the other hand, the AP will send another CF_Poll to poll the next node. In the last stage, the AP sends an ACK immediately after it receives the last uplink data packet. Then, it begins the downlink period and broadcasts all the downlink data packets until its buffer is empty.

3.2. HBPOLL Access Policy

Figure 2a shows the data transmission cycle of a hybrid service bidirectional polling (HBPOLL) access control system with three nodes. The access period consists of two parts, namely the connection-based establishment period and the contention-free data exchange period, during which the uplink and downlink transmissions occupy the channel alternately. In the connection establishment phase, each station carries the buffer data length in the connection request. Based on the collected information, the AP sets the duration field in the beacon to indicate the total time required to complete the uplink data transmission, including a data frame, an acknowledgement (ACK) frame, and all short inter-frame spaces (SIFS), and it then enters a CFP for half-duplex bidirectional data transmission. We considered two service disciplines: semi-gated for uplink queues and gated for downlink queues. Stations wait for the CF_POLL frame from the AP and send the data that arrived in the buffer in the previous polling cycle. After all the stations complete the uplink data transmission, the AP starts to broadcast the downlink data that has buffered at the BS, excluding the new arrivals during this downlink transmission period. Stations calculate the NAV according to the beacon, and after completing the uplink data transmission, they enter a sleep state until the beginning of the downlink transmission phase.

4. Mathematical Model

The arriving and transmission of data frame at both uplink queues and downlink queue are independent, and so we could seem the downlink data flow as an extra independent data queue follow the last uplink queue.
First, this protocol is modeled as an N+1 hybrid service polling system. However, it is difficult to calculate the second moment of an N-queue asymmetric polling model (queues has different parameters with each other), especially with hybrid service scheme. In order to get the close form expression of the mean delay, we should simplify this system. Then, the HBPOLL is equivalent to a two-queue polling system. At last, we derive the analytic expressions of the mean queue length at the polling epoch and the mean waiting for each queue by the Markov chain and generating function method.

4.1. HBPOLL Mathematical Model

A single-server polling system with N+1 queues is set up to model the upper access mechanism. Here, S = { STA 1 ,   STA 2 , ,   STA i , , STA N } is a set of stations with an uplink buffer queue in each station, Q u = { q u 1 ,   q u 2 , ,   q u i , , q u N } , and the AP has a downlink buffer queue q s . We use a Markov chain to analyze the queueing process in this system. The time axis is divided into time slots, and a random variable ξ i ( n ) is defined to indicate the number of uplink data packets in q u i when the AP polls the station STA i at time t n . Further, the variable ξ s ( n ) represents the number of downlink data packets in q s at time t n . Then, the state variable for the number of system queues at time t n is { ξ 1 ( n ) , ,   ξ i ( n ) , ,   ξ N ( n ) ,   ξ s ( n ) } . After STA i completes the data packet transmission according to the specified service mode, the AP polls STA i + 1 at time t n + 1 , and the system state variable is { ξ 1 ( n + 1 ) , ,   ξ i ( n + 1 ) , ,   ξ N ( n + 1 ) ,   ξ s ( n + 1 ) } . After STA N sends the data packets according to the specified service policy, the AP begins to send the downlink data in its buffer at time t d . At this time, the system state variable is { ξ 1 ( d ) , ,   ξ i ( d ) , ,   ξ N ( d ) ,   ξ s ( d ) } .
The system satisfies the following assumptions.
Data arrival process: In any time slot, the uplink data arrives at station i according to mutually independent Poisson processes, with a probability generating function A i ( z i ) , mean λ i = A i ( 1 ) , and variance σ λ i = A i ( 1 ) + λ i λ i 2 ; The downlink data also arrives at the AP according to mutually independent Poisson processes, with a probability generating function A s ( z s ) , mean λ s = A s ( 1 ) , and variance σ λ s = A s ( 1 ) + λ s λ s 2 ;
The service process needs to be restricted as follows. The service time for each uplink packet sent is subject to an independent uniform distribution, with a probability generating function B i ( z i ) , mean β i = B i ( 1 ) , and variance σ β i = B i ( 1 ) + β i β i 2 . The service time for sending a downlink data packet is also subject to an independent uniform distribution, with a probability generating function B s ( z s ) , mean β i = B s ( 1 ) , and variance σ β s = B s ( 1 ) + β s β s 2 .
Query conversion process: the inter-station query conversion times are independent of each other, with a probability generating function i ( z i ) , mean γ i = i ( 1 ) , and variance σ γ i = i ( 1 ) + γ i γ i 2 .
STAi has traffic load ρ i = λ i ( β i + γ i ) , and the total system load is G = i = 1 N λ i ( β i + γ i ) + λ s ( β s + γ s ) . When λ i = λ j = λ and β i = β j = β , the system has symmetry. Then, G = N λ ( β + γ ) + λ s ( β s + γ s ) .

4.2. Equivalent Analysis Model

To simplify the analysis process, we make the above-mentioned N+1 queue hybrid service polling control system equivalent to a two-queue gated service polling system. The station adopts a semi-gated service mode, i.e., the current CFP starting time is taken as the gated decision time of the uplink queue. Therefore, when the uplink queues { q u 1 ,   q u 2 , ,   q u i , , q u N } of the N stations are grouped into one total uplink queue q u , q u = i = 1 N q u i , at this time,   q u satisfies the gated service criterion, i.e., after accepting the query, only the data arriving before the q u query time is sent. The data arriving in the current CFP will be sent in the next polling cycle, and the downlink queue q d = q s . Figure 1 shows a schematic diagram with an example of bidirectional transmission in the PCF mode and an equivalent dual queue polling access mode when N = 3.
In summary, the N+1 queue hybrid service system is equivalent to a dual queue gated service system, and the random variable ξ u ( n ) is defined to indicate the number of data packets in q u when the AP accesses q u at time t n . When ξ d ( n ) represents the number of downlink data packets in q d at time t n , then the state variable of the number of system queues at time t n is { ξ u ( n ) , ξ d ( n ) }. After q u sends the data packet according to the gated service policy, the AP uses the gated service mode to start transmitting the downlink data at time t n + 1 . At this time, the system state variable is { ξ u ( n + 1 ) , ξ d ( n + 1 ) }. The system satisfies the following assumptions.
Data arrival process: The uplink data arrives at q u according to an independent Poisson process, with a probability generating function A u ( z u ) = i = 1 N A i ( z i ) , mean λ u = A u ( 1 ) = i = 1 N λ i , and variance σ λ u = A u ( 1 ) + λ u λ u 2 . The downlink data also arrives at the AP according to an independent Poisson process, with a probability generating function A d ( z d ) = A s ( z s ) , mean λ d = A d ( 1 ) = λ s , and variance σ λ d = A d ( 1 ) + λ d λ d 2 .
The service process satisfies the independent uniform distribution of the service time for uplink packets sent, with a probability generating function B u ( z u ) = B i ( z i ) , mean β u = B u ( 1 ) , and variance σ β u = B u ( 1 ) + β u β u 2 . The downlink data service time is also subject to an independent uniform distribution, with a probabilistic generating function B d ( z d ) = B s ( z s ) , mean β d = B d ( 1 ) , and variance σ β d = B d ( 1 ) + β d β d 2 .
The query conversion times between queues are independent of each other. The q u to q d conversion time has a probability generating function u ( z u ) = i = 1 N i ( z i ) , mean γ u = u ( 1 ) = i = 1 N γ i , and variance σ γ u = u ( 1 ) + γ u γ u 2 . The q d to q u conversion time has a probability generating function d ( z d ) = s ( z s ) , mean γ d = d ( 1 ) , and variance σ γ d = d ( 1 ) + γ d γ d 2 .
In homogeneous-traffic environments, each queue i has the same data arrival rate λi = λs = λ, and each data frame has the same transmission time βi = βs = β and same switchover time γi = γs = γ. The uplink parameters are reduced to λ u = N λ , β u = N β , and γ u = N γ .

4.3. Probability Generating Function of System Queuing State at Query Time

According to the equivalent dual queue gated service polling system model described in Section 4.2, the downlink queue starts to transmit data at time t n + 1 . In our proposed Markov chain, considering the state transfer of the reliable system, we present the queue length at the polling epoch of q d as follows:
{ ξ d ( n + 1 ) = ξ d ( n ) + η d ( ν u ) + μ d ( u u ) , ξ u ( n + 1 ) = η u ( ν d ) + μ u ( u d ) ,      
where η d ( ν u ) represents the number of data packets arriving in the downlink queue q d memory during the uplink queue q u service process, and μ u ( u d ) represents the number of data packets arriving in the downlink queue q d during the conversion process in which the uplink queue q u completes transmission and the downlink queue q d starts transmission.
The system is in a stable working state when the condition G < 1 is satisfied [26]. Then, the number of queuing data packets at each station in the system has steady state probability distributions π u ( x u , x d ) and π d ( x u , x d ) at the query time of the uplink and downlink queues, respectively.
{ lim n [ ξ k ( n ) = x k , k = u , d ] = π u ( x u , x d ) ,     lim n [ ξ k ( n + 1 ) = x k , k = u ,   d ] = π d ( x u , x d ) .
According to the definition of the probability generating function, the system state probability generating function at the query time of the uplink queue is
G u ( z u , z d ) = x u = 0 x d = 0 z u x u z d x d π u ( z u , z d ) = lim n E [ z u ξ u ( n ) z d ξ d ( n ) ] .
Similarly, the system state probability generating function at the query time of the downlink queue is
G d ( z u , z d ) = x u = 0 x d = 0 z u x u z d x d π d ( z u , z d ) = lim n E [ z u ξ u ( n + 1 ) z d ξ d ( n + 1 ) ] .
Substituting the state variable relationship given by Equation (1) into Equation (4) gives
{ G u ( z u , z d ) = d ( A u ( z u ) A d ( z d ) ) G d ( z u , B d ( A u ( z u ) A d ( z d ) ) ) , G d ( z u , z d ) = u ( A u ( z u ) A d ( z d ) ) G u ( B u ( A u ( z u ) A d ( z d ) ) , z d ) .

5. Performance Analysis

5.1. Mean Queue Length

Let g k ( j ) denote the number of data packets stored in the jth station when the AP services the kth station at time t n , which is calculated by the following formula:
g k ( j ) = lim z k , z j 1 G k ( z k , z j ) z j   ( k = u , d ; j = u , d ) .
By substituting Equation (5) into Equation (6), the mean queue length of the data packets in the buffer of uplink and downlink queues at the query time is obtained as follows:
g u ( u ) = λ u ( γ u + γ d ) 1 ρ u ρ d ,
g d ( d ) = λ d ( γ u + γ d ) 1 ρ u ρ d .

5.2. Mean Waiting Time

The waiting time of a data packet refers to the time from its arrival at the station to its service by the AP. To derive the formula of the meaning waiting time for each station, we calculate the second derivative of the generating function as follows:
g k ( t , j ) = lim z u , z d 1 2 G k ( z u , z d ) z t z j   k = u , d ; t = u , d ; j = u , d .
Substituting Equation (5) into Equation (9) gives
g u ( u , u ) = d ( 1 ) λ u 2 + γ d A u ( 1 ) + [ 2 γ d λ u 2 β d + B d ( 1 ) λ u 2 + β d A u ( 1 ) ] g d ( d ) + 2 γ d λ u g d ( u ) + g d ( u , u ) + 2 g d ( u , d ) β d λ u + g d ( d , d ) β d 2 λ u 2 ,
g u ( u , d ) = g u ( d , u ) = d ( 1 ) λ u λ d + γ d λ u λ d + [ 2 γ d λ u ρ d + B d ( 1 ) λ u λ d + ρ d λ u ] g d ( d ) + γ d λ d g d ( u ) + g d ( u , d ) ρ d + g d ( d , d ) ρ d β d λ u ,
g d ( d , d ) = u ( 1 ) λ d 2 + γ u A d ( 1 ) + [ 2 γ u λ d 2 β u + B u ( 1 ) λ d 2 + β u A d ( 1 ) ] g u ( u ) + 2 γ u λ d g u ( d ) + g u ( u , u ) β u 2 λ d 2 + 2 g u ( u , d ) β u λ d + g u ( d , d ) ,
g d ( d , u ) = g d ( u , d ) = u ( 1 ) λ u λ d + γ u λ u λ d + [ 2 γ u λ d ρ u + B u ( 1 ) λ u λ d + ρ u λ d ] g u ( u ) + γ u λ u g u ( d ) + g u ( u , u ) β u ρ u λ d + g u ( d , u ) ρ u ,
g u ( d , d ) = d ( 1 ) λ d 2 + γ d A d ( 1 ) + [ 2 γ d ρ d λ d + B d ( 1 ) λ d 2 + β d A d ( 1 ) ] g d ( d ) + g d ( d , d ) ρ d 2 ,
g d ( u , u ) = u ( 1 ) λ u 2 + γ u A u ( 1 ) + [ 2 γ u λ u ρ u + B u ( 1 ) λ u 2 + β u A u ( 1 ) ] g u ( u ) + g u ( u , u ) ρ u 2 .
Equations (10) to (15) can be used to obtain the closed-form expressions of the second-order properties g u ( u , u ) and g d ( d , d ) of the probability generating function as follows:
g u ( u , u ) = 1 ϕ χ ψ 2 ( 1 φ ) { λ u 2 [ ( χ ( φ ψ + 2 ρ d ) + ρ d 2 ψ 2 ) u ( 1 ) + φ d ( 1 ) ] + ( γ u + γ d ) 1 ρ u ρ d [ φ / ψ ( χ A u ( 1 ) + λ u 2 β d 2 ψ A d ( 1 ) ) + ( ( χ ( φ ψ + 2 ρ d ) + ρ d 2 ψ 2 ) λ u B u ( 1 ) + φ λ d B d ( 1 ) ) λ u 2 ] + 2 λ u 2 1 ρ u ρ d [ ( γ u ρ d γ d ρ u + γ d ) ( ρ d γ u χ + ρ d 2 γ u ψ ) + ( γ u γ u ρ d + γ d ρ u ) ( γ d χ + ρ d 2 ρ u γ d ψ ) + ( γ u + γ d ) S ] + 2 λ u 2 ρ d [ ( γ u + ρ u γ d ) χ + ρ u ρ d ( γ d + ρ d γ u ) ψ ] } ,
g d ( d , d ) = 1 ϕ χ ψ 2 ( 1 φ ) { λ d 2 [ φ u ( 1 ) + ( ϕ ( φ ψ + 2 ρ u ) + ρ u 2 ψ 2 ) d ( 1 ) ] + ( γ u + γ d ) 1 ρ u ρ d [ φ / ψ ( ϕ A d ( 1 ) + λ d 2 β u 2 ψ A u ( 1 ) ) + λ d 2 ( φ λ u B u ( 1 ) + ( ϕ ( φ ψ + 2 ρ u ) + ρ u 2 ψ 2 ) λ u B u ( 1 ) ) ] + 2 λ d 2 1 ρ u ρ d [ ( γ u ρ d + γ d γ d ρ u ) ( γ u ϕ + ρ u 2 ρ d γ u ψ ) + ( γ u γ u ρ d + γ d ρ u ) ( ρ u γ d χ + ρ u 2 γ d ψ ) + ( γ u + γ d ) K ] + 2 λ d 2 ρ u [ ( γ d + ρ d γ u ) ϕ + ρ u ρ d ( γ u + ρ u γ d ) ψ ] } .
where φ = 1 ρ u 2 ρ d 2 , ψ = 1 + ρ u ρ d , ϕ = 1 ρ u ρ d ρ u 2 2 ρ u 2 ρ d + ρ u 3 ρ d , and   χ = 1 ρ u ρ d ρ d 2 2 ρ d 2 ρ u + ρ d 3 ρ u . The values of the parameters S and K are given in the Appendix A. According to Reference [13], the mean waiting time of the uplink and downlink queues is obtained as follows:
W G u = ( 1 + ρ u ) g u ( u , u ) 2 λ u g u ( u ) A u ( 1 ) 2 λ u 2 ,
W G d = ( 1 + ρ d ) g d ( d , d ) 2 λ d g d ( d ) A d ( 1 ) 2 λ d 2 .

5.3. Unit Energy Consumption

The unit energy consumption ϖ is defined as the ratio of the total energy consumption (E) to the number of data packets that are successfully transmitted in the CFP period (M):
ϖ = E M .
In a CFP cycle, owing to the introduction of the dormancy mechanism, the total energy consumption of the AP and the station includes the transmission energy consumption E t , the reception energy consumption E r , and the sleep energy consumption E s , and it is expressed as follows [27]:
E = E t + E r + E s = P t T t + P r T r + P s T s
where Pt, Ps, and Pr and Tt, Ts, and Tr, are the power and mean time consumption in the transmit, sleep, and receive periods, respectively.

6. Simulation Experiments and Numerical Analysis

Based on the theoretical analysis presented above, the hybrid service bidirectional polling control access system is simulated and analyzed. We consider an ideal communication in MATLAB 2018a. In the simulation experiment, it is assumed that the channel is an ideal channel and all data packets are successfully transmitted. The duration of one time slot is 100 μs, and time is measured in slots. All the nodes transmit data at a rate of 36 Mbps. The uplink and downlink data packets are generated through a Poisson arrival process, and queued in an infinite buffer with rates of λi and λs (packet/slot) at the stations and server, respectively. The mean service times βi and βs (slot/packet) and mean switchover times γi and γs (slot) are normalized in the theoretical analysis, corresponding to the system parameters listed in Table 1.
We investigate the impacts of different network configurations on the delay and power consumption in Figure 3, Figure 4, Figure 5, Figure 6, Figure 7, Figure 8 and Figure 9 for a small network, e.g., N = 3. The theoretical curves are plotted by Equations (7) and (8) and Equations (18) and (19), respectively. We verify our theoretical analysis model in Figure 3, Figure 4 and Figure 5. The default parameter values listed in Table 1 are in accordance with IEEE 802.11n. According to the channel parameters listed in Table 1, both the AP and each node take the normalized parameter settings listed in Table 2.
In the first experiment, we consider heterogeneous traffic, where the uplink and downlink queues have different data frame lengths and data frame arrival rates. Figure 3 plots the mean queue length and the mean waiting time of both uplink and downlink data flows versus the data frame arrival rate. In this experiment, three nodes are polled by the AP, where nodes 1 to 3 transmit media data traffic and the AP transmits system control or emergency data traffic at the same rate of 36 Mbps. We use 1500 bytes of payload (a common payload size in IEEE 802.11n) for each uplink packet and 300 bytes of payload (network statement information, broadcast system information) for each downlink packet. The abscissa represents the increase in the traffic load from low levels to saturation. The good agreement between the theoretical curves and the corresponding simulation curves indicates that our theoretical results are highly accurate for heterogeneous traffic.
In the second experiment, we consider homogeneous traffic, where each node has the same data frame arrival rate. Figure 4 plots the mean queue length and the mean waiting time of both uplink and downlink data flow versus the data frame length. As all the data frames transmit data at the same rate, we convert the increase in data frame length into the mean service time. The abscissa shows the increase in the traffic load with the service time. The curves are in good agreement with the simulation curves.
Figure 5 plots the mean queue length and the mean waiting time of both uplink and downlink data flow versus the switchover time.
In the third experiment, the stations and server generate homogeneous date traffic with the same packet length at the same rate. Both uplink and downlink payloads are added with the switchover time, which is related to the distance from the AP to the stations, ACK manner, etc., up to saturation. The theoretical calculations are consistent with the simulation results.
The aggregative data transmission in HBPOLL makes it possible for stations to sleep after they complete the uplink data transmission, and they can remain in the sleep state until the downlink begins to broadcast. The delay and energy consumption performance are compared against those of the two-level polling system proposed in Reference [25], where the downlink queue is assigned a high priority to occupy the channel immediately after each uplink queue. The simulation and theoretical analysis parameters are identical, as shown in Table 3.
First, the mean waiting time for the uplink and downlink data frames are compared on the basis of the theoretical analysis results and simulation results. We evaluate the mean waiting time of uplink and downlink data frames using Equations (18) and (19) for HBPOLL, as well as the analytical expressions in Reference [25].
Figure 6 shows the delay performance versus the data arrival rate in a small-scale network with three stations. The mean waiting time of the uplink queue in HBPOLL is shorter than that in the two-level polling service system, while mean waiting time of the downlink queue is longer. Figure 7 plots the delay performance versus the network scale. The mean waiting time between both curves increases with the number of stations, and HBPOLL outperforms the two-level polling service system in the uplink case, whereas the results are reversed in the downlink case. This is because, under HBPOLL, all the uplink packets to be serviced go to the downlink station; therefore, for HBPOLL, the number of data packets stored in the downlink queue is greater than that for the two-level polling system. As a result, the mean waiting time of the downlink is longer than that for the two-level polling system. Hence, HBPOLL is suitable for uplink delay-constrained applications, while it has some drawbacks in terms of downlink delay performance.
Then, the energy consumption performances are compared on the basis of the simulation results. As the energy performances have not been discussed in Reference [25], the unit energy consumption is used to evaluate the energy efficiency, i.e., the ratio of the total energy consumption to the total number of data frames in one polling cycle. The energy consumption is calculated using Equation (21), whereas in Reference [25], only Et and Er are considered as the stations keep listening to the channel during the entire transmission process.
Figure 8 compares the unit energy consumption of HBPOLL and the two-level polling service system. It shows that the unit energy consumption decreases with the arrival rate of the uplink station. The difference in unit energy consumption between the curves decreases with the arrival rate, down to 54% at an arrival rate of 1.4 (packet/slot), as fewer data packets are required for transmission.
Figure 9 shows the unit energy consumption of the system for HBPOLL and a two-level polling system. The figure shows that the unit energy consumption increases with the number of stations and the proposed HBPOLL model can successfully reduce the unit energy consumption of the system, with an average reduction to 69%. The maximum reduction to 70% is recorded for the case of 80 stations.
The limited-1 service mechanism is generally applied in IEEE 802.11a PCF channel access mechanism. Therefore, we also compare our method with the limit-1 polling system. Table 4 summarizes the simulation parameters.
Figure 10 plots the delay performance versus the data frame service time in a small-scale network with three stations. Compared to the limit-1 polling system, HBPOLL can effectively reduce the mean waiting time of uplink data, with an average reduction to 58%, while the mean waiting time of the downlink queue is longer. Figure 11 plots the delay performance versus the network scale. Obviously, HBPOLL outperforms the limit-1 polling system even in scenarios with heavy traffic conditions; it shows an average reduction to 56%, but the difference in downlink between both curves increases with the number of stations, as more time is required for data transmission.
Figure 12 shows the unit energy consumption of the system for HBPOLL and the limit-1 polling system in a small-scale network with three stations. The unit energy consumption increases with the service time of uplink data, but it is significantly reduced for the HBPOLL model by an average of 35%.
Figure 13 shows the unit energy consumption of HBPOLL with respect to the limit-1 polling system. Intuitively, the unit energy consumption increases with the number of stations; however, although the unit energy consumption of HBPOLL increases, energy saving is also achieved. The average unit energy consumption is reduced to 68% and the maximum reduced to 70% for 80 stations.

7. Conclusions

This study proposed a hybrid service bidirectional polling model for half-duplex antenna communication. In this model, the server queue is added after all the station queues at the end of the polling cycle to realize bidirectional communication. The server queue is serviced in a gated scheme, while the station queues are serviced in a semi-gated scheme. These schemes are advantageous in terms of the stations’ energy savings, and they are suitable for uplink delay-constrained applications. Furthermore, by making HBPOLL equivalent to a two-queue polling system with a gated service scheme, this study discussed the uplink and downlink access performance separately in a contention-free period. The results can serve as a foundation for analyzing variants of the PCF-based full-duplex MAC protocol in future work.
Summarily, there are some aspects need to improve in the future. In service strategy: The improvement on the delay of uplink transmission and energy reduction on stations is at the cost of the downlink resource occupation. So, it is more suitable for the networks where the uplink traffic is heavier than the downlink, or the downlink service should be shared among stations. Future work should also focus on the fairness problem.
In theoretical analyses: We focus on the gated scheme under the ideal communication channel in the present analyses model. A future performance evaluation of the HBPOLL protocol will consider the general retrial to quantify its robustness against channel variations and its efficiency under different service scheme.

Author Contributions

Conceptualization, Z.G. and M.H.; methodology, Z.G.; software, Y.J.; validation, Z.G., Y.J. and M.H.; formal analysis, Y.J.; investigation, Y.J.; resources, Z.G. and M.H.; data curation, Y.J.; writing—original draft preparation, Z.G. and Y.J.; writing—review and editing, Z.G., M.H. and Y.J.; visualization, M.H.; supervision, M.H.; project administration, M.H.; funding acquisition, Z.G.

Funding

This research was funded by the National Science Foundation of China (NSFC), grant number 61761045, 61463051, and 61463049, and by the Research Foundation of Yunnan Province, grant number 2017FB100.

Conflicts of Interest

The authors declare no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.

Appendix A

S = χ ρ u ( γ u γ u ρ u ρ d + 2 ρ d γ u + ρ d ) + ψ ρ u ρ d 2 ( ρ u ρ d + γ u + γ u ρ u ρ d ) + χ ρ d ( γ d + γ d ρ u ρ d + ρ u ρ d ) + ψ ρ d 3 ( 2 ρ u γ d + ρ u + γ d γ d ρ u ρ d )
K = ϕ ρ u ( ρ u ρ d + γ u + γ u ρ u ρ d ) + ψ ρ u 3 ( γ u γ u ρ u ρ d + 2 ρ d γ u + ρ d ) + ϕ ρ d ( 2 ρ u γ d + ρ u + γ d γ d ρ u ρ d ) + ψ ρ u 2 ρ d ( γ d + γ d ρ u ρ d + ρ u ρ d )

References

  1. Li, D.X.; Wu, H.; Shan, C.L. Internet of things in industries: A survey. IEEE Trans. Ind. Inform. 2014, 10, 2233–2243. [Google Scholar]
  2. Kiran, M.P.R.S.; Subrahmanyam, V.; Rajalakshmi, P. Novel power management scheme and effects of constrained on-node storage on performance of mac layer for industrial IoT networks. IEEE Trans. Ind. Inform. 2018, 14, 2146–2158. [Google Scholar] [CrossRef]
  3. Hina, M.; Ail, H.S.; Faheem, A.C.; Saeed, A.K.A.; Gul, H.S.; Sandeep, P. Evolution of 5G in Internet of medical things. In Proceedings of the 2018 International Conference on Computing, Mathematics and Engineering Technologies (iCoMET), Sukkur, Pakistan, 3–4 March 2018. [Google Scholar]
  4. Ali, H.S.; Sandeep, P.; Gul, H.S.; Gurtov, A.; Muzammal, M.; Luo, Z. A Joint Transmission Power Control and Duty-Cycle Approach for Smart Healthcare System. IEEE Sens. J. 2018, 10, 1–8. [Google Scholar]
  5. Sandeep, P.; Heye, Z.; Wanqing, W.; Mukhopadhyay, S.C.; Zhang, Y.-T. Heartbeats based biometric random binary sequences generation to secure wireless body sensor networks. IEEE Trans. Biomed. Eng. 2018, 65, 2751–2759. [Google Scholar]
  6. Park, M. IEEE 802.11ah: Sub-1-GHz license-exempt operation for the internet of things. IEEE Commun. Mag. 2015, 53, 145–151. [Google Scholar] [CrossRef]
  7. Kumar, S.; Lim, H.; Kim, H. Energy Optimal Scheduling of Multi-Channel Wireless Sensor Networks for Wireless Metering. In Proceedings of the International Conference on Electronics, Information and Communication (ICEIC), Danang, Vietnam, 27–30 January 2016. [Google Scholar]
  8. IEEE Standard for Information technology—Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications; ANSI/IEEE Std. 802.11; The Institute of Electrical and Electronics Engineers: New York, NY, USA, 1999.
  9. Zhang, B.; Ma, M.D.; Liu, C.F.; Shu, Y.T. Improvement of polling and scheduling scheme for real-time transmission with HCCA of IEEE 802.11p protocol. Sci. Direct 2013, 20, 60–66. [Google Scholar] [CrossRef]
  10. Hongwei, D.; Chao, L.; Liyong, B.; Yang, Z.; Liu, L.; Liu, Q. Research on multi-level priority polling MAC protocol in FPGA tactical data chain. IEEE Access 2019, 7, 33506–33516. [Google Scholar] [CrossRef]
  11. Msongaleli, D.L.; Kucuk, K.; Kavak, A. Adaptive Polling Medium Access Control Protocol for Optic Wireless Networks. Appl. Sci. 2019, 9, 1071. [Google Scholar] [CrossRef]
  12. Oliveira, S.R.D.J.; Soares, A.B. A new priority-based dynamic protocol for multiple access control improves data transfer rates in WBANs. Biomed. Signal Process. Control 2018, 41, 100–108. [Google Scholar] [CrossRef]
  13. Yang, Z.; Zhao, D. Qos support polling scheme for multimedia traffic in wireless LAN MAC protocol. Tinghua Sci. Technol. 2008, 13, 754–758. [Google Scholar] [CrossRef]
  14. Panagiotakis, A.; Nicopolitidis, P.; Papadimitriou, G.I. Performance increase for highly-loaded RoF access network. IEEE Commun. Lett. 2015, 19, 1628–1631. [Google Scholar] [CrossRef]
  15. Lv, Y.; Jiang, N.; Qiu, K. Energy-efficient load adaptive polling sequence arrangement scheme for passive optical access networks. IEEE/OSA J. Opt. Commun. Netw. 2015, 7, 516–524. [Google Scholar] [CrossRef]
  16. Al-Mefleh, H.; Al-Kofahi, O. Frequency-domain contention and polling MAC protocol in IEEE 802.11 wireless networks: A survey. Comput. Commun. 2018, 129, 1–18. [Google Scholar] [CrossRef]
  17. Liu, S.; Han, B.; Peng, W. A polling-based traffic aware MAC protocol for centralized full-duplex wireless networks. IEEE Access 2018, 6, 28225–28238. [Google Scholar] [CrossRef]
  18. Igarashi, Y.; Nakano, R.; Wakamiya, N. A Polling-Based Transmission Scheme Using a Network Traffic Uniformity Metric for Industrial IoT Applications. Sensors 2019, 19, 187. [Google Scholar] [CrossRef] [PubMed]
  19. Binbin, L.; Yuan, H.; Wenyuan, L.; Lin, W. Towards time-efficient localized polling for large-scale RFID systems. Commun. Netw. 2019, 150, 250–262. [Google Scholar]
  20. Yuting, F.; Jianqiang, L.; Kun, X.; Chen, H.; Lu, X.; Dai, Y.; Yin, F.; Ji, Y.; Lin, J. Performance analysis for IEEE 802.11 distributed coordination function in radio-overfiber-based distributed antenna systems. Opt. Express 2013, 21, 20529–20543. [Google Scholar]
  21. Bara, K.; Jeongdim, K. Sojourn time distribution in polling systems with processor-sharing policy. Perform. Eval. 2017, 114, 97–112. [Google Scholar]
  22. van der Mei, R.D.; Roubos, A. Polling models with multi-phase gated service. Ann. Oper. Res. 2012, 198, 25–56. [Google Scholar] [CrossRef]
  23. Abidini, M.A.; Boxma, O.B.; Kim, J.; Resing, J. Performance analysis of polling systems with retrials and glue periods. Queue. Syst. 2017, 87, 293–324. [Google Scholar] [CrossRef] [Green Version]
  24. Li, F.; Li, J.Q.; Lin, X.D. A new analysis for IEEE 802.11 PCF. IEEE Trans. Veh. Technol. 2013, 26, 4064–4079. [Google Scholar]
  25. Yang, Z.J.; Zhu, L.Z.; Ding, H.W.; Guan, Z. A Priority-based Parallel Schedule Polling MAC for Wireless Sensor Networks. J. Commun. 2016, 11, 792–797. [Google Scholar] [CrossRef]
  26. Zhao, D.F.; Zheng, S.M. Message Waiting Time Analysis for a Polling System with Gated Service. J. China Inst. Commun. 1994, 15, 18–23. [Google Scholar]
  27. Guan, Z.; Yang, Z.J.; He, M.; Qian, W.H. Energy-efficient analysis of an IEEE 802.11 PCF MAC protocol based on WLAN. J. Ambient Intell. Human. Comput. 2018. [Google Scholar] [CrossRef]
Figure 1. Working framework of hybrid service bidirectional polling (HBPOLL).
Figure 1. Working framework of hybrid service bidirectional polling (HBPOLL).
Electronics 08 00715 g001
Figure 2. HBPOLL and the equivalent polling model.
Figure 2. HBPOLL and the equivalent polling model.
Electronics 08 00715 g002
Figure 3. Delay performance with heterogeneous traffic. (a) mean queue length vs. arrival rate; (b) mean waiting time vs. arrival rate.
Figure 3. Delay performance with heterogeneous traffic. (a) mean queue length vs. arrival rate; (b) mean waiting time vs. arrival rate.
Electronics 08 00715 g003
Figure 4. Delay performance with homogeneous traffic. (a) mean queue length vs. payload size; (b) mean waiting time vs. payload size.
Figure 4. Delay performance with homogeneous traffic. (a) mean queue length vs. payload size; (b) mean waiting time vs. payload size.
Electronics 08 00715 g004
Figure 5. (a) mean queue length vs. switchover time; (b) mean waiting time vs. switchover time.
Figure 5. (a) mean queue length vs. switchover time; (b) mean waiting time vs. switchover time.
Electronics 08 00715 g005
Figure 6. (a) mean waiting time of uplink vs. arrival rate of uplink station; (b) mean waiting time of downlink vs. arrival rate of uplink station.
Figure 6. (a) mean waiting time of uplink vs. arrival rate of uplink station; (b) mean waiting time of downlink vs. arrival rate of uplink station.
Electronics 08 00715 g006
Figure 7. (a) mean waiting time of uplink vs. number of stations; (b) mean waiting time of downlink vs. number of stations.
Figure 7. (a) mean waiting time of uplink vs. number of stations; (b) mean waiting time of downlink vs. number of stations.
Electronics 08 00715 g007
Figure 8. Comparison of unit energy consumption.
Figure 8. Comparison of unit energy consumption.
Electronics 08 00715 g008
Figure 9. Comparison of unit energy consumption.
Figure 9. Comparison of unit energy consumption.
Electronics 08 00715 g009
Figure 10. (a) mean waiting time of uplink vs. service time of uplink station; (b) mean waiting time of downlink vs. service time of uplink station.
Figure 10. (a) mean waiting time of uplink vs. service time of uplink station; (b) mean waiting time of downlink vs. service time of uplink station.
Electronics 08 00715 g010
Figure 11. (a) mean waiting time of uplink vs. number of stations; (b) mean waiting time of downlink vs. number of stations.
Figure 11. (a) mean waiting time of uplink vs. number of stations; (b) mean waiting time of downlink vs. number of stations.
Electronics 08 00715 g011
Figure 12. Comparison of unit energy consumption.
Figure 12. Comparison of unit energy consumption.
Electronics 08 00715 g012
Figure 13. Comparison of unit energy consumption.
Figure 13. Comparison of unit energy consumption.
Electronics 08 00715 g013
Table 1. Transceiver data (1500-byte payload in IEEE 802.11n).
Table 1. Transceiver data (1500-byte payload in IEEE 802.11n).
ParameterValueParameterValue
Pt1.65 WTSIFS10 μs
Pr1.4 WTPIFS19 μs
Pi1.15 WTslot100 μs
Ps0.045 WRdata36 Mbps
βisFrame length/Rdataγi/γs2TSIFS+2TACK+TPOLL
Table 2. Normalized parameter values in the simulations.
Table 2. Normalized parameter values in the simulations.
Uplink QueueDownlink Queue
Figureλi (frames/slot)βi (slot/frame)γi (slot)λs (frames/slot)βs (slot/frame)γs (slot)
3From 0.005 to 0.04551From 0.01 to 0.0511
40.02From 1 to 910.02From 1 to 91
50.021From 1 to 90.021From 1 to 9
Table 3. Normalized parameter values in delay and energy consumption comparisons.
Table 3. Normalized parameter values in delay and energy consumption comparisons.
Uplink QueueDownlink Queue
FigureStation amountλi (frames/slot)βi (slot/frame)γi (slot)λs (frames/slot)βs (slot/frame)γs (slot)
6 and 83From 0.005 to 0.14110.0411
7 and 9From 10 to 800.003110.0211
Table 4. Comparison of normalized parameter values for delay and energy consumption.
Table 4. Comparison of normalized parameter values for delay and energy consumption.
Uplink QueueDownlink Queue
FigureNumber of stations λi (frames/slot)βi (slot/frame)γi (slot)λs (frames/slot)βs (slot/frame)γs (slot)
10 and 1230.031–910.0114
11 and 1310–800.003110.0211

Share and Cite

MDPI and ACS Style

Guan, Z.; Jia, Y.; He, M. A Bidirectional Polling MAC Mechanism for IoT. Electronics 2019, 8, 715. https://doi.org/10.3390/electronics8060715

AMA Style

Guan Z, Jia Y, He M. A Bidirectional Polling MAC Mechanism for IoT. Electronics. 2019; 8(6):715. https://doi.org/10.3390/electronics8060715

Chicago/Turabian Style

Guan, Zheng, Yao Jia, and Min He. 2019. "A Bidirectional Polling MAC Mechanism for IoT" Electronics 8, no. 6: 715. https://doi.org/10.3390/electronics8060715

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