Lecture 6: Radio Duty Cycling For Wireless Sensor Networks
Lecture 6: Radio Duty Cycling For Wireless Sensor Networks
Casilari, Eduardo; Cano-García, Jose M.; Campos-Garrido, Gonzalo. 2010. "Modeling of Current Consumption in 802.15.4/ZigBee
CS-541 Wireless Sensor Networks
SensorSpring Semester
Motes." 2016-2017
Sensors 10, no. 6: 5443-5468. University of Crete, Computer Science Department
3
We do we need duty cycling for WSN
• On idle listening: huge amounts on energy loss especially on low-traffic
conditions.
• Regardless of the network traffic and sensor nodes activity (e.g. relays or
not) lifetime is the same
12 V batteries: ~3 weeks of
AA (1.5x2) batteries: lifetime (GG Bridge project).
~6 days of lifetime
vs.
@ 6 seconds - Industrial
@ 60 seconds - Rural
Low relay activity
CS-541 Wireless Sensor Networks
Spring Semester 2016-2017 5
University of Crete, Computer Science Department
We do we need duty cycling for WSN
• Example: 2 small-scale testbeds (10-15 nodes), same protocol stack,
operating at different environments (rural and industrial) and having
different traffic demands
Empirical characterization of lifetime (Available Energy / Consumed Power)
• Challenges:
• How to cope with extra latency (sampling on
sleep mode -> queued until active period
• Relay node wakes up to forward the packet –
packet is lost or delayed
• Communication connectivity – network “Wireless Sensor Networks”, Ian F. Akyildiz,
Mehmet Can Vuran, 2010, Willey, Ch 1
partitioning
Approaches:
0, 𝑖𝑓 𝑢 ∈ 𝑎, 𝑐, 𝑓
Example (a): 𝑓 𝑢 =
2 𝑖𝑓 𝑢 ∈ 𝑒, 𝑑, 𝑏
2 𝑖𝑓 𝑢 ∈ 𝑑, 𝑓
CS-541 Wireless Sensor Networks
Spring Semester 2016-2017 11
University of Crete, Computer Science Department
Synchronous Duty Cycling
Active period
Wakeup period
Scheduler
Follower
Follower
Scheduler
Follower
CS-541 Wireless Sensor Networks
Spring Semester 2016-2017 15
University of Crete, Computer Science Department
Synchronous Duty Cycling
• Interference aspects are addressed as is part of the solution – resulting to a
contention-based MAC protocol
• S-MAC
@ large scale, multi-hop networks: nodes following more than one schedule
consume more energy
@ all nodes on the same schedule: per-hop latency equals to the sleep period
Dynamic traffic: nodes don’t change their wake-up / sleep intervals – if the
traffic becomes lighter nodes will spend time in idle mode
T. van Dam and K. Langendoen. An adaptive energy-efficient MAC protocol for wireless sensor networks. In ACM Sensys, 2003.
CS-541 Wireless Sensor Networks
Spring Semester 2016-2017 18
University of Crete, Computer Science Department
Synchronous Cycling
W. Ye,Spring
J. Heidemann, CS-541with
and D. Estrin. Medium access control Wireless Sensor Networks
coordinated adaptive sleeping for wireless sensor networks. IEEE/ACM
Semester 2016-2017 20
Transactions on Networks, 12(3):493–506, 2004. University of Crete, Computer Science Department
Asynchronous Duty Cycling
• Preamble Sampling
B-MAC
• Combines Preamble sampling (Low Power
Listening) + CCA
• No synch phase, no RTS/CTS (default)
• Node goes back to sleep after successful
packet reception or time out period
• @ TX: Preamble length matches channel
checking period
• Interval between LPL samples is maximized
so that the time spent sampling the
channel is minimized.
Polastre, Joseph, Jason Hill, and David Culler. "Versatile low power
media access for wireless sensor networks." SENSYS, ACM, 2004.
BMAC is
about 4.5
faster than
SMAC-unicast
• ContikiMAC
• ContikiMAC
Timing Aspects…
• ContikiMAC
Timing Aspects…
𝑡𝑖 < 𝑡𝑐 To ensure that at least one of the two CCA will catch the transmission attempt
𝑡𝑠 > 2𝑡𝑟 + 𝑡𝑐 Data packet should be longer than 2 successive CCA detection periods
𝑡𝑎 + 𝑡𝑑 < 𝑡𝑖
• ContikiMAC
Timing Aspects…
Based on symbol duration & channel bit rate you can calculate the min PHY payload size
E.g., IEEE 802.15.4 link layer:
𝑡𝑎 = 12 symbols (1 symbol = 4/250 ms)
An IEEE 802.15.4 receiver can reliably detect the reception of an ACK after the 4-byte long
preamble and the 1-byte start of frame delimiter, which totals to 10 symbols
𝑡𝑟 = 0.192 ms (HW dependent)
On weak links:
Repeatedly retransmitted packets due to asynchronous policy can be
perceived as noise (multi-path effect…)
Intra-network interference