Introductions of WSNs
Introductions of WSNs
Single-node Architecture
Outline
Memory
Power supply
Main Components of a Sensor Node :
Controller module
Main options:
MCUs (Microcontrollers) Memory
The processor for general purposes
Optimized for embedded applications
Low energy consumption Communication Controller Sensors
Receive mode
Receiving data
Idle mode
Ready to receive, but not doing so
Some functions in hardware can be switched off
Reducing energy consumption a little
Sleep mode
Significant parts of the transceiver are switched off
Not able to immediately receive something
Recovery time and startup energy in sleep state can be significant
Main Components of a Sensor Node :
Communication module
Example of transceivers are recently used in Senor Node
RFM TR1000 family Chipcon CC 2400
916 or 868 MHz Ex: TI CC2420
400 kHz bandwidth Implements 802.15.4
Up to 115,2 kbps 2.4 GHz, DSSS modem
On/off keying or ASK 250 kbps
Dynamically tuneable output Higher power consumption
power than above transceivers
Maximum power about 1.4 mW
Low power consumption Infineon TDA 525x family
E.g., 5250: 868 MHz
Chipcon CC1000 ASK or FSK modulation
Range 300 to 1000 MHz, RSSI, highly efficient power
programmable in 250 Hz steps amplifier
FSK modulation Intelligent power down, “self-
Provides RSSI polling” mechanism
Excellent blocking
performance
Main Components of a Sensor Node :
Communication module
TI CC 2431
8051 MCU core
128KB in-system programmable flash
8KB SRAM
Powerful DMA
One IEEE 802.15.4 MAC timer
2.4GHz IEEE 802.15.4 compliant RF
RX (27mA), TX (27mA), MCU running at 32MHz
0.3uA current consumption in power down mode
Wide supply voltage range (2.0V-3.6V)
CSMA/CA hardware support
Digital RSSI/LQI support
12-bit ADC with up to eight inputs and configuration resolution
Two USARTs with support for several serial protocols
128-bit AES security coprocessor
Main Components of a Sensor Node :
Sensing module
Sensor’s main categories [1] Memory
Infar sensor
Triple axis accelerometer
Electronic compass
Ultrasonic
Temperature and
Humidity Sensor
Pressure Sensor
Gyroscope
Main Components of a Sensor Node :
Power supply module
Memory
Power supply module
provides as much energy as possible Communication Controller Sensors
Primary batteries
Chemistry Zinc-air Lithium Polymer Cell Alkaline
Secondary batteries
Chemistry Lithium Polymer Cell Ni-MH Ni-Cd
Octopus I
Octopus II
16-bit MSP430 microcontroller
10 KB RAM + 48KB Flash) + 1MB Flash
RF: CC2420 (data rate: 250kbits/s)
Octopus II
Octopus X
8-bit 8051 microcontroller
128KB in-system programmable flash
8KB RAM + 4KB EEPROM
RF: CC2430, EEE 802.15.4 compliant RF transceiver
Octopus X
Introduction of Octopus X Hardware Platform
Octopus X includes three models
Octopus X-A
CC2431 + Inverted F Antenna
Octopus X-B
CC2431 + SMA Type Antenna Octopus X-A Octopus X-B Octopus X-C
Octopus X-C
CC2431 + Inverted F and SMA Type Antenna + USB interface
Peripherals of Octopus X
USB dongle
Octopus X-USB dongle
Octopus X-Sensor board
Temperature
Temperature sensor
sensor
Gyroscope
Three axis accelerometer
Three axis
Electronic Compass
accelerometer
Introduction of Octopus X Hardware Platform
Octopus X-C
(57mm ×
Features of Octopus X-A
Size: 28mm × 28mm MCU (CC2431)
Inverted-F
Antenna Inverted-F antenna
RF transmission range ≒ 100m
External crystal
(32MHz+32.768KHz)
30-Pin 30-Pin expansion connector
expansion CC2431(MCU+RF)
connector Polymer batter (3.7V 300mAh)
MicroSD
socket
Features of Octopus X - USB Dongle
USB Octopus X-USB dongle
Dongle provides an easy-to-use USB
protocol for
Programming
Debugging
Data collections
Temperature
sensor
Electronic
Compass
Back view of Octopus X-sensor
board
Sensor board
(Gyroscope + Triple axis accelerometer )
Features of Octopus X - Dock
Size: 60mm × 71mm USB interface
Programming with our flash
USB interface programmer
Debug interface
Power switch
Data collections
Debug interface
Test points Programming with TI
SmartRF04EB
3 LEDs 30-Pin expansion connector
User switch and reset switch
Test points
DC power switch
3 LEDs
Switches Expansion connector
Summary of Octopus X
Octopus X is not only compatible with IAR embedded
workbench but also “Keil C ” software
Sensor Board
Size: 50mm × 31mm
Introduction of Octopus II Hardware Platform
Octopus II block diagram
Introduction of Octopus II Hardware Platform
Octopus II block diagram
Light Sensor
USB
USB Chip MSP430 Temperature
Connector
Sensor
CC2420
LEDs IEEE 802.15.4
Connecto
USB r
16-bit MSP430 microcontroller core 8MHz
48 KB in-system programmable flash
10 KB RAM
ADC 12-Bit 8 Channels
Batterie Temperatur Antenna
Features of Octopus II-A
MCU (MSP430F1611)
Flash Memory (48 KB + 256 KB)
RAM (10 KB)
External Flash (1 MB)
External Crystal (4 MHz + 32.768 KHz)
Serial Communication Interface (USART, SPI or I2C)
Low Supply-Voltage Range (1.8V ~ 3.6V)
Five Power-Saving Modes
Sensors
Humidity & Temperature sensor
Humidity 0 ~ 100%RH (0.03%RH)
Temperature -40oC ~ 120oC (0.01oC)
Light sensors
Features of Octopus II-A
Radio (CC2420)
2.4GHz IEEE 802.15.4 compliant RF
Data rate (250 Kbps)
Rx (18.8 mA), Tx (17.4 mA)
Programmable output power
Digital RSSI/LQI support
Hardware MAC encryption
Battery monitor
RF transmission range ≒ 250m
Serial number ID
50-Pin expansion connector
External DC power connector
Features of Octopus II-A
Front view of Octopus II-A Size: 65mm × 31mm
Features of Octopus II-A
Back view of Octopus II-A
Features of Octopus II-B
Size: 80mm × 31mm
RF transmission range ≒ 450m
CC2420 with external power
Processor amplifier
(MSP430F1611)
Maximum output power: ~10dBm
Compliance with IEEE 802.15.4
(ZigBee)
RF(CC242
0) Power
Amplifier
Features of Octopus II - Sensor board
Size: 50mm × 31mm Sensors
Light sensors Temperature sensor Humidity & Temperature sensor
Humidity 0-100%RH (0.03%RH)
Temperature -40oC~120oC (0.01oC)
Light sensors
Gyroscope
Integrated X and Y-axis gyro
Gyroscope Three axis
Three axis accelerometer
accelerometer
Selectable sensitivity (1.5g/2g/4g/6g)
Octopus II Sensor board
Low current consumption (600uA)
Sleep mode (3uA)
Low voltage operation (2.2V-3.6V)
High sensitivity (800mV/g @ 1.5g)
Features of Octopus II - Dock
Size: 90mm × 54mm Easy-to-develop WSN
applications
Debug
Expansion interface Debug interface
connector B DC power (>7V) Programming with TI flash
programmer
Power DC power input
switch
Power switch
3 power LEDs
4 user LEDs
User switch and reset switch
Switches 2 row expansion connectors
Expansion 4 LEDs
Power LEDS
connector A
Summary of Octopus II
Octopus II is not only compatible with TinyOS but also
standard C programming
Octopus II is of 2-Layer design to reduce production cost
Octopus II can be programmed from USB interface
Octopus II has two kinds of antennas, SMA type and
inverted F type
RF transmission range of Octopus II is up to 450m
Expansion connector design on Octopus II provides a
user interface for sensor boards and dock
2.3. Energy Consumption of
Sensor Node
The Main Consumers of Energy
Microcontroller
Radio front ends
RF transceiver IC
RF antenna
Degree of Memory
RAM
EEPROM
Flash memory
Depending on the type of sensors
Temperature sensor
Humidity sensor
Other components
LED
External Crystal
USB IC
Energy consumption of Microcontroller
A “back of the envelope” estimation for energy consumption
It means “energy consumption” is easily to estimate
Number of instructions
Energy per instruction: 1 nJ [4]
Small battery (“smart dust”): 1 J = 1 Ws
Corresponds: 109 instructions!
Lifetime
Require a single day operational lifetime
= 24hr × 60mins × 60secs = 86400 secs
1 Ws / 86400s ≒ 11.5 W as max. sustained power consumption!
Not feasible!
Most of the time a wireless sensor node has nothing to do
Hence, it is best to turn it off
Multiple power consumption modes
Way out: Do not run sensor node at full operation all the time
If nothing to do, switch to power safe mode
Question: When to throttle down? How to wake up again?
Typical modes
Microcontroller
Active, Idle, Sleep
Radio mode
Turn on/off transmitter/receiver or Both
Pactive
Psleep
t1 tevent time
τdown τup
Switching between Modes
Esaved = (tevent − t1) × Pactive − (τdown × (Pactive + Psleep) / 2 +
(tevent − t1 − τdown) × Psleep)
Esaved Eoverhead
Pactive
Psleep
t1 tevent time
τdown τup
Power Consumption vs. Transmission Distance
Free space loss: direct-path signal
2
Ar At
Pr Pt Gr Gt
4 d
2 2
d 2
Pr Pt Gr Gt ( )hthr 2
d 2
Ad hoc network
Difference between Ad hoc and Sensor Network
Sensor Network Scenarios
Sources: Any sensor node that provides sensing
data/measurements
Sinks: Sensor nodes where information is required
Belongs to the sensor network
Could be the same sensor node or an external entity such
PDA/NB/Table PC
Is part of an external network (e.g., internet), somehow connected to
the WSN
Sourc
e
Sink Sink
Sink Interne
Single-hop vs. Multi-hop Networks
One common problem: limited range of wireless
communication
Limited transmission power
Path loss
Obstacles
Solution: multi-hop networks
Send packets to an intermediate node
Intermediate node forwards packet to its destination
Store-and-forward multi-hop network
Basic technique applies to both WSN and MANET
Note:
Store-and-forward multi-hopping NOT the only possible
solution
Ex: Collaborative networking, Network coding [11] [12].…
Single-hop vs. Multi-hop Networks
Single-hop networks
Sink
Sourc Obstacle
Multi-hop networks e
Multiple Sinks, Multiple Sources WSN
Sink
In-network Processing
MANETs are supposed to deliver bits from one end to
the other
1 1
1 1
3 1
1 1
6 1
1 1
Sink Sink
Gateway concepts for WSN/MANET
Gateways are necessary to the Internet for remote
access to/from the WSN
For ad hoc networks
Additional complications due to mobility
Ex: Change route to the gateway, use different gateways
For WSN
Additionally bridge the gap between different interaction semantics in
the gateway
Gateway concepts for WSN/MANET
Gateway support for different radios/protocols, …
PC
Remote
Internet user
Gateway Tablet PC
node
Remote
user
PDA
WSN to Internet communication
Scenario: Deliver an alarm message to an Internet host
Problems
Need to find a gateway (integrates routing & service discovery)
Choose “best” gateway if several are available
How to find John or John’s IP address?
Alert
John
John’s PC
Internet
Gateway John’s Tablet PC
node
John’s PDA
Wireless sensor
Internet to WSN communication
How to find the right WSN to answer a need?
How to translate from IP protocols to WSN protocols,
semantics?
Remote requester
Internet
Gatewa
Gatewa y
y nodes
nodes
WSN tunneling
Example of WSN tunneling
WSNs Testbed
Inter
net
Users
Web Server
Internet / Ethernet
WSN tunneling
Example of WSN tunneling
Testbed scenario
2.5. Challenges of Sensor Nodes
Challenges of Wireless Sensor Node
More energy-efficient
Self-sufficiency in power supply such as the installation of
solar collector panels
Design more energy-efficient of the circuit, or to adopt more
energy-efficient electronic components