Professional Documents
Culture Documents
Duty Cycle
Tian Deng, Jiang Zhu , Zhiqiang Nie
School of Electronic Science and Engineering National University of Defense Technology
Changsha, China
Email:dengtian_nudt@163.com, jiangzhu@nudt.edu.cn, neizq_nudt@163.com
Abstract—In the low power wide area network, the represented by: Wise-MAC [6], PW-MAC [7]. Wise-MAC
LoRaWAN protocol adopts ALOHA type to access channel combines the non-persistence CSMA protocol with the
without duty cycle limited. The energy-efficient of the node synchronous preamble snooping mechanism to reduce the
and the robustness for varying traffic load are not considered time of idle listening, but each node needs to maintain a
in the situation which may lead to unfairness of node. To sampling schedule of its directly adjacent nodes; The PW-
balance the energy consumption and network performance, an MAC protocol reduces the idle listening time by predicting
adaptive duty cycle medium access control (ADC-MAC) the wake time of the receiver, however it cannot adapt to the
protocol is proposed. The basic idea of the protocol is that each change of the large traffic.
sensor node maintains three indicators including the residual
energy, the node load and the network congestion rate. The The Low power wide area network (LPWAN) has
sensor node selects a different duty cycle to control the excellent performance in WSNs, enabling large coverage and
minimum interval of the uplinks. The asynchronous scheme is low consumption [8]. The LoRaWAN [9] protocol in the
easier to implement as time synchronization is not necessary. LPWAN is proposed by SEMTECH to support multi-
The results, acquired by OPNET, demonstrate that the channel and spread spectrum communications, which can
proposed ADC-MAC protocol have obvious advantages in expand network capacity obviously. In LoRaWAN, nodes
extending the battery lifetime and improving packet delivery use ALOHA type to access channel without limit of the duty
rate.
cycle. The problem of this scheme is that it may well lead to
Keywords—duty cycle; energy efficiency; traffic load
exhausting node energy earlier due to accessing channel
adaptive; MAC protocol frequently. Introducing the duty cycle in the protocol is a
way to solve the problem, but the current duty cycle protocol
does not take into account the impact of the energy
I. INTRODUCTION consumption, the packet queuing delay, and the network
In the wireless sensor network (WSN), the energy traffic, which may cause unfairness of some nodes.
efficiency of the sensor node has been considered one of the
In this paper, we propose the ADC-MAC protocol to
most important requirements in network design, especially
adjust the node duty cycle dynamically by introducing 3
for battery-powered nodes deployed in harsh environment
indicators (e.g. node load, the node energy and the real-time
[1]. The wireless transceiver module of the sensor node is the
network parameter) into the duty cycle formula. And we use
largest energy consuming component. Using MAC protocol
OPNET to simulate the proposed protocol and analyze the
to control the wireless transceiver on-off can effectively
results.
reduce the node energy consumption and increase the
network life.
II. LORAWAN PROTOCOL
Many duty cycling mechanism in MAC protocols have
been proposed to decrease the idle listening [2]. At present, LoRaWAN defined by LoRa alliance is a protocol based
according to whether need to synchronize, the duty cycling- on LoRa technology. The network topology is a “star of
based MAC protocol is divided into two groups: stars” which means that terminals connect the gateways
synchronous and asynchronous. Synchronous duty cycle directly via LoRa wireless links. All sensor nodes support bi-
protocols are represented by: S-MAC [3], T-MAC [4], EX- directional communications, but mainly the uplink [10]. The
MAC [5]. S-MAC protocol adopts fixed periodic listening LoRaWAN specification 1.0.2 version divided the terminal
and sleeping mechanism, which affect the channel utilization. equipment into A / B / C types according to the actual
T-MAC improves the channel utilization by adjusting the application. Class-A is the lowest power consumption
length of the active period dynamically according to the terminal. The terminal sends packets in ALOHA type based
network traffic with total periods unchanged. The drawback on its own requirements. Each sensor node opens two short
of the T-MAC is thatthe energy balance of nodes is not downlink receive windows after uplink transmission. The
considered; EX-MAC can change the duty cycle according rest of the time is in a sleep state, see Fig. 1. In class-A,
to the network load fluctuation. When the load on the sensor downlink communications will have to wait until the next
changes, it immediately increases or decreases the duty cycle. scheduled uplink.
This may cause energy waste because of too frequent
switching status. Asynchronous duty cycle protocols are
energy consumption and network performance. The ADC- In order to reflect the current network traffic load more
MAC protocol can asynchronously and dynamically adjust accurate, we get the network congestion rate indicator by
the duty cycle through residual energy indicator, node load current and previous period of busy rate indicators:
indicator and indicator of network congestion rate.
2 1
III. ADC-MAC PROTOCOL
J J T J T 1 (5)
3 3
A. Protocol schemes After the period T, the terminal calculates the maximum
duty cycle which can be used in the next period, and the
Each Lora sensor node in fixed period T needs to formula is as follows:
maintain three indicators: residual energy, node load and
network congestion rate. D E
\ duty _ cycle
Definition 1. Residual energy indicator 2J K (6)
Eremaining Where K is the system adjustment balance parameter,
D determined by the maximum duty cycle that can be set by the
Einitial (1) system itself, with a minimum value of 1.
Where Eremaining represents the residual energy of the sensor
node and Einitial is the initial energy. B. Protocol scheme
In the ADC-MAC protocol, each terminal adjusts the
Definition 2. Node load indicator duty cycle asynchronous and dynamically based on the three
indicators, and the algorithm flow chart is shown in Figure 2.
N buffer
E (2) Step 1: After the terminal joins the network, it records the
N max
initial packet buffer, initializes the duty cycle\ duty _ cycle , and
Where N buffer represents the number of packets currently
sets the timer 1 with the period T.
buffered by the sensor node, and N max represents the total
Step 2: If the terminal is in the first-period T, it uses the
number of packets generated by the sensor node. initialization duty cycle to communicate, otherwise it uses
Definition 3. Network congestion rate indicator the calculated duty cycle. When the terminal transmits the
uplink frame, it records the transmission time Ttrans , and sets
Lora gateways and Lora terminal support multi-channel
communication, and we express the channel as 1
i 1, , Nchannel .In a fixed period T , Each terminal the timer 2 as Tother Ttrans ( 1) according to
\ duty _ cycle
maintains an upstream counter Chanl _ up _ Cnt >i @ . the value of the current duty cycle. Then the terminal closes
the transceiver and remains the sleep state, except that
When the terminal sends a packet on a random channel, the opening the window 1 and window 2 to receive the
corresponding upstream counter of this channel is downstream frame at a fixed time.
incremented by one. At the same time, the terminal also
maintains a retransmission counter Chanl _ Re _ Cnt >i @ Step 3: The terminal waits for timer 2 to expire. When
timer 2 expires, if there is a frame ready to send to gateway,
to count the number of retransmissions. When the terminal the terminal returns to the step 2, otherwise it keeps the sleep
does not receive the ACK in the expected time, the counter state until the frame arrives
1123
Step 4: The terminal waits for timer 1 to expire, and then 5%, and we choose K as 5 to limit the duty cycle in
it counts the three indicators of D , E , and J , and
0,0.0625@ . In order to track the performance of the
D E
calculates the duty cycle \ duty _ cycle that the protocol, extraordinary, node 1 is configured as heavy load,
2J K sufficient energy; node 2 is configured as light load,
terminal can use in the next period. sufficient energy; node 3 is configured as low load, low
energy; node 4 is configured as normal load, sufficient
Step 5: The terminal sets the uplink counter energy; the others are randomly configured.
Chanl _ up _ Cnt >i @ , the channels busy rate V i and >@
B. Simulation analysis
the retransmission counter Chanl _ Re _ Cnt >i @ to zero,
Figure 3 shows the duty cycle used by the configured
but it needs to keep the network congestion rate indicator J nodes 1, 2, 3 and 4 during the simulation. It can be seen from
in order to weight the network traffic load in the next period the figure that all nodes set the initial duty cycle as 5% when
T . At the same time, the terminal sets the timer 1 and goes join the network in different time. Next nodes use different
to step 2. duty cycle based on their own indicators to communication
and change it dynamically for uplink transmission. The node
Node
Node 1 because of the heavy load and sufficient energy uses the
initialization
initialization larger duty cycle to increase the probability of access
channel. On the other hand, node 3 uses the smallest duty
Whether
Whether
W er cycle due to low energy. It is required to keep the sleep state
first
first to extend the node lifetime, and use the residual energy as
Y N
period
period TT
p much as possible to transmit the emergency information.
Use
Use
Use
Use initial
initial calculated
calculated 6
duty
duty cycle
cycle duty
duty cycle
cycle
5
Set
Set timer
timer 11
with
with period
period TT
Y
4
duty cycle(%)
Whether
Whether
W er
Y timer
timer 11 N
expired
expired
e d 3
Record
Record
Calculate
Calculate 33 transmission
transmission Whether
Whether
W er
indicators,
indicators, time,
time, set
set timer
timer 22
update
update duty
duty 2
duty
duty cycle
cycle expired
expired
e d
cycle
cycle timer
timer 22 Node 1
N
Node 2
1
Sleep
Sleep
Node 3
Node 4
0
Fig. 2. ADC-MAC duty cycle adjustment algorithm
0 200 400 600 800 1000
Simulation(s)
IV. PERFORMANCE SIMULATION Fig. 3. The duty cycle used by different nodes in the ADC-MAC protocol
1124
network factually. In ADC-MAC, the node dynamically
70 adjusts the duty cycle according to the network busyness, to
Node 1 avoid the large number of nodes transmitting packets in the
60 Node 2 time that may interfere with each other.
Energy ConsumptionͧmJͨ
Node 3
50 Node 4 V. CONCLUSIONS
In this paper, the ADC-MAC is based on LORAWAN
40 protocol, allowing each node to find the optimal duty cycle
according to its own situation (energy, load, channel busy
rate) to control the minimum interval of two uplink packets.
30 The proposed protocol not only improve the energy
efficiency by considering the average energy consumption,
20 but also take into account the varying traffic conditions to
avoid excessive congestion.
10
REFERENCES
0 [1]. N Sazak, I Erturk, E Koklukaya, et al. “Impact of Active Node
0 200 400 600 800 1000 Determination Approach for Energy Efficiency in WSN MAC
Simulation Timeͧsͨ Protocol Design,” International Congress on Ultra Modern
Telecommunications and Control Systems and Workshops(ICUMT
Fig. 4. Energy consumption of different nodes in the ADC-MAC protocol 2011), pp:1-5, October 2011.
[2]. Lim, Bum Jun, Jang Beakcheol, et al. “MCAS-MAC: A
Multichannel Asynchronous Scheduled MAC Protocol for Wireless
Sensor Network.” Computer Communications, vol.56, pp.98-107,
1 2015.
0.95 [3]. W Ye, J Heidemann, D Estrin, “An Energy Efficient MAC for
Wireless Sensor Networks,” in Proc.of IEEE INFOCOM,pp:1567-
0.9 1576,2002.
[4]. T Van Dam, K langendoen, “An Adaptive Energy-efficient MAC
Packet Delivery Rate
1125