![Page 1: The Basics of Wireless Sensor Networking and its Applications](https://reader031.vdocument.in/reader031/viewer/2022011913/61d7b825e314ba62414c2e76/html5/thumbnails/1.jpg)
The Basics of Wireless Sensor Networking and its Applications
Daniele Puccinelli
Wireless Sensor Networks
Daniele Puccinelli 1
Daniele Puccinelli
http://web.dti.supsi.ch/~puccinelli
![Page 2: The Basics of Wireless Sensor Networking and its Applications](https://reader031.vdocument.in/reader031/viewer/2022011913/61d7b825e314ba62414c2e76/html5/thumbnails/2.jpg)
What is a Wireless Sensor Network?
• A collection of sensing devices that can communicate wirelessly• Each device can sense, process, and talk to its peers• Typically, centralized collection point (sink or base station)
gateway
Daniele Puccinelli 2
gateway
sink
![Page 3: The Basics of Wireless Sensor Networking and its Applications](https://reader031.vdocument.in/reader031/viewer/2022011913/61d7b825e314ba62414c2e76/html5/thumbnails/3.jpg)
The Vision Behind Sensor Networks
• Embed numerous distributed sensor nodes into the physical world
• Exploit dense in situ
Daniele Puccinelli 3
• Exploit dense in situsensing and actuation
• Network these devices so that they can coordinate to perform higher-level identification and tasks
![Page 4: The Basics of Wireless Sensor Networking and its Applications](https://reader031.vdocument.in/reader031/viewer/2022011913/61d7b825e314ba62414c2e76/html5/thumbnails/4.jpg)
What is a sensor node?
• A sensing node has 3 basic components: a CPU, a radio transceiver, and a sensor array.
• Any kind of sensor, interfaced through an ADC.CPU
RADIO
SENSORS
PO
WE
R
Daniele Puccinelli 4
• Nodes are normally battery-powered.
• On-board storage
• May have actuators, too
CPU
STORAGE
ACTUATORS
PO
WE
R
![Page 5: The Basics of Wireless Sensor Networking and its Applications](https://reader031.vdocument.in/reader031/viewer/2022011913/61d7b825e314ba62414c2e76/html5/thumbnails/5.jpg)
Hardware platforms
Daniele Puccinelli 5
Low-end: mote-class device
•Sensing and basic processing•Short-range, low-power radio
High-end: gateway
• Advanced processing• Interface to the outside world
![Page 6: The Basics of Wireless Sensor Networking and its Applications](https://reader031.vdocument.in/reader031/viewer/2022011913/61d7b825e314ba62414c2e76/html5/thumbnails/6.jpg)
TelosB: Our Low-End Mote
Daniele Puccinelli 6
![Page 7: The Basics of Wireless Sensor Networking and its Applications](https://reader031.vdocument.in/reader031/viewer/2022011913/61d7b825e314ba62414c2e76/html5/thumbnails/7.jpg)
Motes and gateways
Daniele Puccinelli 7
• Motes can talk to each other wirelessly • They get the data to a sink (one of their own)• The sink is wired to a gateway• The gateway provides out-of-network connectivity (e.g., Internet)
Internet
![Page 8: The Basics of Wireless Sensor Networking and its Applications](https://reader031.vdocument.in/reader031/viewer/2022011913/61d7b825e314ba62414c2e76/html5/thumbnails/8.jpg)
dB, dBW, dBm
• dBW (commonly called dB): 10*log10(ratio of measured power to 1W)• Example: we measure 100W• Ratio to 1W is 100• We get 20dB
• Radio (transmit and receive) power is typically measured in dBm• dBm: 10*log10(ratio of measured power to 1mW)
Daniele Puccinelli 8
•100W is 100000 times 1mW; the ratio is 100000• To get the dB ratio to 1mW (dBm): 10*log10(100000)=50dBm
• Practical rule: dBm are more than dBW• x dBm = (x-30) dBW
• The difference between two dBm values is expressed in dB
![Page 9: The Basics of Wireless Sensor Networking and its Applications](https://reader031.vdocument.in/reader031/viewer/2022011913/61d7b825e314ba62414c2e76/html5/thumbnails/9.jpg)
Mote-class devices
Example: IRIS mote
CPU•Code memory (Flash): 128KB•Measurement Flash: 512KB•RAM: 8KB•Active mode current draw: 8ma
Daniele Puccinelli 9
•Sleep mode current draw: 8uATRANSCEIVER•Theoretical data rate: 250kbps•Maximum tx power: 3dBm•Rx current draw: 16mA•Tx current draw (@ -17dBm): 10mA•Tx current draw (@ 3dBm): 17mA
![Page 10: The Basics of Wireless Sensor Networking and its Applications](https://reader031.vdocument.in/reader031/viewer/2022011913/61d7b825e314ba62414c2e76/html5/thumbnails/10.jpg)
Gateway-class devices
Example: CrossBow Stargate
CPU• Flash memory: 32MB (50x more than a mote)• RAM: 64MB (>8000x more than a mote)
Daniele Puccinelli 10
COMMUNICATION INTERFACES• Wired ethernet• Wi-Fi•Idle: 180mA
•Sleep: 60mA •Active: 330mA •Idle/Wi-Fi: 360mA •Active/Wi-Fi: 530mA
![Page 11: The Basics of Wireless Sensor Networking and its Applications](https://reader031.vdocument.in/reader031/viewer/2022011913/61d7b825e314ba62414c2e76/html5/thumbnails/11.jpg)
cost / complexity / energy consumption
802.11b 802.11a
802.11g
WSNs in the Tech Space
Daniele Puccinelli 11
data rate
WSN research platforms
802.15.4
ZigBee
Bluetooth
Gateways
Motes
![Page 12: The Basics of Wireless Sensor Networking and its Applications](https://reader031.vdocument.in/reader031/viewer/2022011913/61d7b825e314ba62414c2e76/html5/thumbnails/12.jpg)
Energy vs. Duty Cycling Efficiency
MICA MoteCPU: ATMega128Radio: CC1000
CPU RadioEnergy per computation
Sleep Power
Startup Cost
Energy per bit
Idle Power
Startup Cost
4 nJ/instr (8b) 30 uW4 ms
7.2 uJ430 nJ/b 7 mA Low
Daniele Puccinelli 12
StargateCPU: PA255Radio: 802.11b
7.2 uJ
1.1 nJ/instr (32b) 20 mW10.6 ms
4.17 mJ90 nJ/b 160 mA High
![Page 13: The Basics of Wireless Sensor Networking and its Applications](https://reader031.vdocument.in/reader031/viewer/2022011913/61d7b825e314ba62414c2e76/html5/thumbnails/13.jpg)
Energy conservation
• Goal: unsupervised operation with no maintenance
• Nodes need to conserve energy• Radio is power-hungry!
Daniele Puccinelli 13
• WSN protocols leverage on radio sleep modes
![Page 14: The Basics of Wireless Sensor Networking and its Applications](https://reader031.vdocument.in/reader031/viewer/2022011913/61d7b825e314ba62414c2e76/html5/thumbnails/14.jpg)
Energy consumption
TX @ 8dBm
TX @ 4dBm
Idle Listening20
35
Cur
rent
[mA
]
Daniele Puccinelli 14
Idle Listening
Radio off
LED off5
101520
Cur
rent
[mA
]
![Page 15: The Basics of Wireless Sensor Networking and its Applications](https://reader031.vdocument.in/reader031/viewer/2022011913/61d7b825e314ba62414c2e76/html5/thumbnails/15.jpg)
Power and Energy
Energy = the capacity of a system to perform work (how much work it can do)Power = rate of energy consumption (how hard the system works)
1 Joule = work required to continuously produce 1W for 1s (1 Ws)
4 Watt-hours = if you use 1W continuously, it lasts you 4 hours
Daniele Puccinelli 15
Ampere-hours = Watt-hours divided by the voltage usedWh and Ah are used to measure the stored energy (Wh=V A h)
Analogy to driving:distance [km] = energy [V A h]speed [km/h] = power [V A]
![Page 16: The Basics of Wireless Sensor Networking and its Applications](https://reader031.vdocument.in/reader031/viewer/2022011913/61d7b825e314ba62414c2e76/html5/thumbnails/16.jpg)
More figures
Daniele Puccinelli 16
![Page 17: The Basics of Wireless Sensor Networking and its Applications](https://reader031.vdocument.in/reader031/viewer/2022011913/61d7b825e314ba62414c2e76/html5/thumbnails/17.jpg)
TelosB Power Draw
Daniele Puccinelli 17
![Page 18: The Basics of Wireless Sensor Networking and its Applications](https://reader031.vdocument.in/reader031/viewer/2022011913/61d7b825e314ba62414c2e76/html5/thumbnails/18.jpg)
Possible applications
Anything that requires• Distributed data collection• Unobtrusive observation in remote/hard-to-get-to locations
• Environmental monitoring (earthquakes, animals, volcanoes, …)
Daniele Puccinelli 18
• Environmental monitoring (earthquakes, animals, volcanoes, …)• Agricultural monitoring• Human behavior monitoring• Healthcare• Home automation and indoor energy conservation• Civil engineering• Warfare
![Page 19: The Basics of Wireless Sensor Networking and its Applications](https://reader031.vdocument.in/reader031/viewer/2022011913/61d7b825e314ba62414c2e76/html5/thumbnails/19.jpg)
Volcano monitoring (1)
• Sensor nodes: microphone and seismometer• Goal: to study eruptions withoutgetting hurt!
WSN (in situ)
Daniele Puccinelli 19
Internet
gateway
Radio modem (tx)
Radio modem (RX)Long-range radio link
![Page 20: The Basics of Wireless Sensor Networking and its Applications](https://reader031.vdocument.in/reader031/viewer/2022011913/61d7b825e314ba62414c2e76/html5/thumbnails/20.jpg)
Volcano monitoring (2)
the mikes pick up the infrasonic waves
the seismometers measure the seismic waves
Daniele Puccinelli 20
Adapted from Matt Welsh’s Keynote at DCOSS’08
![Page 21: The Basics of Wireless Sensor Networking and its Applications](https://reader031.vdocument.in/reader031/viewer/2022011913/61d7b825e314ba62414c2e76/html5/thumbnails/21.jpg)
Volcano monitoring (3)
Daniele Puccinelli 21
WSN
![Page 22: The Basics of Wireless Sensor Networking and its Applications](https://reader031.vdocument.in/reader031/viewer/2022011913/61d7b825e314ba62414c2e76/html5/thumbnails/22.jpg)
Tracking zebras
Daniele Puccinelli 22
• Sensor: GPS• Nodes on zebras, drive-by data collection
![Page 23: The Basics of Wireless Sensor Networking and its Applications](https://reader031.vdocument.in/reader031/viewer/2022011913/61d7b825e314ba62414c2e76/html5/thumbnails/23.jpg)
Wireless vineyards
Sensors: • soil moisture• temperature• biological
Goal: decision-making• Should we irrigate area X now?
Daniele Puccinelli 23
• Should we irrigate area X now?• Is there a parasite in area Y?
Data collection: mobile sinkPeople (or dogs) walking around
![Page 24: The Basics of Wireless Sensor Networking and its Applications](https://reader031.vdocument.in/reader031/viewer/2022011913/61d7b825e314ba62414c2e76/html5/thumbnails/24.jpg)
Medical applications
Sink + gateway
Daniele Puccinelli 24
Body Area Network PDA
![Page 25: The Basics of Wireless Sensor Networking and its Applications](https://reader031.vdocument.in/reader031/viewer/2022011913/61d7b825e314ba62414c2e76/html5/thumbnails/25.jpg)
Sewer Overflow
Dry Weather
Combined Sewer
Overflow
Overflow
Wet Weather
• Heavy rains cause sewersto overflow
• Sewage water gets dumped intorivers
Daniele Puccinelli 25
South Bend Wastewater Treatment Plantbody of water
Overflow During Wet Weather
Interceptor Sewer• Sensor: water flow through a pipe• Actuators to divert water flow
• Goal: in-line water storage in areasthat are less affected by current storm
![Page 26: The Basics of Wireless Sensor Networking and its Applications](https://reader031.vdocument.in/reader031/viewer/2022011913/61d7b825e314ba62414c2e76/html5/thumbnails/26.jpg)
Glacier monitoring
probes
gateway
gateway
Internet
Daniele Puccinelli 26
ICE probes
probes
Sensors:• temperature• pressure• strain (from ice)• resistivity
gateway
![Page 27: The Basics of Wireless Sensor Networking and its Applications](https://reader031.vdocument.in/reader031/viewer/2022011913/61d7b825e314ba62414c2e76/html5/thumbnails/27.jpg)
Bridge monitoring
Daniele Puccinelli 27
![Page 28: The Basics of Wireless Sensor Networking and its Applications](https://reader031.vdocument.in/reader031/viewer/2022011913/61d7b825e314ba62414c2e76/html5/thumbnails/28.jpg)
WSNs vs MANETs
WSNs share some MANET features• No infrastructure• Self-organization (dynamic topology)
But are rather different!
Daniele Puccinelli 28
• Many more nodes• Simpler, cheaper nodes• Limited computing power• Limited storage• Limited energy• Typically, static nodes
![Page 29: The Basics of Wireless Sensor Networking and its Applications](https://reader031.vdocument.in/reader031/viewer/2022011913/61d7b825e314ba62414c2e76/html5/thumbnails/29.jpg)
Key features of WSNs
Sensor network hardware should be• energy-efficient, to maximize lifetime• small, for ease of deployment• inexpensive, so that many nodes can be deployed• reliable, to minimize maintenance
Daniele Puccinelli 29
• reliable, to minimize maintenance
Ultimate goal:Long-lasting, flexible, and reliable operation
![Page 30: The Basics of Wireless Sensor Networking and its Applications](https://reader031.vdocument.in/reader031/viewer/2022011913/61d7b825e314ba62414c2e76/html5/thumbnails/30.jpg)
Theory-Reality Gap
There are some notoriously optimistic assumptions......that are hardly ever true in practice
The Theory• Nodes are deployed randomly (e.g., thrown out of
Daniele Puccinelli 30
• Nodes are deployed randomly (e.g., thrown out of airplanes)
The Reality• Time-consuming deployments
![Page 31: The Basics of Wireless Sensor Networking and its Applications](https://reader031.vdocument.in/reader031/viewer/2022011913/61d7b825e314ba62414c2e76/html5/thumbnails/31.jpg)
Theory-Reality Gap
There are some notoriously optimistic assumptions......that are hardly ever true in practice
The Theory• Nodes are small and cheap
Daniele Puccinelli 31
• Nodes are small and cheap
The Reality• Same hardware platform for the past 6 years• Still more than $100 for a mote
![Page 32: The Basics of Wireless Sensor Networking and its Applications](https://reader031.vdocument.in/reader031/viewer/2022011913/61d7b825e314ba62414c2e76/html5/thumbnails/32.jpg)
Theory-Reality Gap
There are some notoriously optimistic assumptions......that are hardly ever true in practice
The Theory• Nodes have a fixed radio range and a fixed sensing
Daniele Puccinelli 32
• Nodes have a fixed radio range and a fixed sensing range
The Reality• No circular radios • No circular sensors
![Page 33: The Basics of Wireless Sensor Networking and its Applications](https://reader031.vdocument.in/reader031/viewer/2022011913/61d7b825e314ba62414c2e76/html5/thumbnails/33.jpg)
Reading List
1. D. Puccinelli and M. Haenggi, “Wireless Sensor Networks-Applications and Challenges of Ubiquitous Sensing,” IEEE Circuits and Systems Magazine, Aug. 2005
2. G. Tolle et al., "A Macroscope in the Redwoods",
Daniele Puccinelli 33
2. G. Tolle et al., "A Macroscope in the Redwoods", SenSys’05
3. G. Werner-Allen et al., "Monitoring Volcanic Eruptions with a Wireless Sensor Network", EWSN'05