1 of 43

Internet of Things

Lecture 2 - Wireless Sensor Networks

2 of 43

2

1980

2010

2020

Moore

Procesare

Era informației

More than Moore

Detecție

Era interacției

Beyond Moore

Actuare

Era îmbunătățirii

Laptop

Personal Computer

Creștere exponențială

Smartphones

Tablets

Servitori Robotici

Vehicule

Autonome

Wearables

Drone

Smart

home

2040

Contopire?

3 of 43

3

4 of 43

Wireless Sensor Networks

4

5 of 43

Wireless Sensor Networks

  • Hundreds/thousands of sensors nodes
  • Monitor environment parameters
  • Gateway/base station
    • Receive data from nodes
    • Send commands to nodes
  • Storage, analysis, processing in cloud

5

Lecture 2 - WSN

6 of 43

Characteristics

6

Small size

Low bandwidth (10s-100s kbps)

Star and mesh topology

Low power, battery operated

Low cost

Ad-hoc network

Unreliable wireless medium

7 of 43

Single-Hop versus Multi-Hop

  • Star topology (single-hop)
    • Sensors communicates directly with the GW
    • May need a high transmission power
    • May not be feasible to cover a wide area
  • Mesh topology (multi-hop)
    • Sensors act as forwarders for other nodes
    • This may reduce the energy consumption
    • May increase coverage
    • Routing protocol

7

Lecture 2 - WSN

Source: https://www.lprsiot.com/networks/

8 of 43

Brief History

  • DARPA:
    • Distributed Sensor Nets Workshop (1978)
    • Distributed Sensor Networks (DSN) program (early 1980s)
    • Sensor Information Technology (SensIT) program

  • UCLA and Rockwell Science Center
    • Wireless Integrated Network Sensors (WINS)
    • Low Power Wireless Integrated Microsensor (LWIM) (1996)

8

Lecture 2 - WSN

9 of 43

Brief History

  • UC-Berkeley
    • Smart Dust project (1999)
    • The concept of mote
  • Berkeley Wireless Research Center (BWRC)
    • PicoRadio project (2000)
  • MIT
    • μAMPS (micro-Adaptive Multidomain Power-aware Sensors) (2005)

  • Sensinode (2005) aquired by ARM in 2013

9

Lecture 2 - WSN

10 of 43

Sensor Nodes

10

11 of 43

What is a Mote?

11

  • mote   noun [C] LITERARY�something, especially a bit of dust, that is so small it is almost impossible to see�---Cambridge Advanced Learner’s Dictionary

Lecture 2 - WSN

12 of 43

Sensor Node Components

12

  • Low-power microcontroller
    • Limited computing power
    • OSes: NuttX, Contiki, TinyOS, etc.
  • Sensors
    • Scalar: temperature, light, etc.
    • Image sensors, microphones, etc.
  • Memory
    • Limited capacity
  • Radio Transceiver
    • Low-power
    • Low data rate, limited range
  • Actuators
  • Power supply: batteries, energy harvesting

Lecture 2 - WSN

13 of 43

Network Communication

  • Low-power, low-cost => Usually low data rate
  • IEEE 802.15.4 standard
    • Designed for WSN networks
    • Low power consumption
    • Short to medium range communication (max 100m)
    • Low data rate (250 kpbs)
    • ZigBee and 6LoWPAN are based on it
    • Widespread use in academic or commercial solutions

13

Lecture 2 - WSN

14 of 43

Network Communication

  • IEEE 802.11 standard (Wi-Fi)
    • Prevalent in nodes without strict energy constraints
    • Medium power consumption
    • Used frequently in commercial solutions
  • Bluetooth Low Energy standard (BLE)
    • Low power consumption
    • Used in many commercial solutions

14

Lecture 2 - WSN

15 of 43

Network Communication

15

16 of 43

Network Communication

  • Networking is a key component (protocol stacks)
  • Addressing schemes (IPv4, IPv6/6LoWPAN)
  • Data transmission (802.15.4, WiFi, BLE, LoRa, LTE, 5G, etc.)
  • Transfer rate (Kbps, Mbps, Gbps)
  • Application layer (CoAP, MQTT, HTTP, etc.)

16

Lecture 2 - WSN

17 of 43

Examples of Sensor Nodes

17

MicaZ, Mica2, Mica2 Dot

UC Berkeley

Lecture 2 - WSN

Microsal

UPB

Sparrow

UPB

ESP32 Sparrow

UPB

18 of 43

UC Berkeley Sensor Nodes

  • UC Berkeley hardware platform evolution

18

19 of 43

Sparrow Nodes (v3 & v4)

19

  • Low-power MCU
  • 2.4GHz transceiver
    • Works with IEEE 802.15.4
    • 256kbps transfer speed
  • Temperature, humidity, light sensors
  • 9-DOF IMU
  • 16MHz
  • 8KB RAM
  • 128KB Flash
  • ~ $10
  • 50mW, 36uW (sleep)
  • 7g, 50x30x5mm

Lecture 2 - WSN

20 of 43

Sparrow Nodes vs IBM PC

20

  • 16MHz
  • 8KB RAM
  • 128KB Flash
  • ~ $10
  • 50mW, 36uW (sleep)
  • 7g, 50x30x5mm
  • 4.77MHz
  • 16-256KB RAM
  • 160KB Floppies
  • ~ $6,000
  • ~ 64W
  • 12kg, 500x140x400mm

IBM PC Original (1981)

Lecture 2 - WSN

21 of 43

ESP32 Sparrow

  • ESP32 microcontroller
    • Wi-Fi, BLE
    • GPIOs
  • BME680 sensor - temperature, humidity, pressure, gas (VOC)
  • Light sensor
  • OLED screen, microphone
  • SD card reader
  • Low power, low cost
  • Arduino-compatible

21

Source: https://github.com/dantudose/ESP32-Sparrow-rev2

22 of 43

Sparrow ESP32

22

23 of 43

WSN Applications

23

24 of 43

Sparrow Sensor Nodes @ UPB

  • Low-power (13mA Runtime, 6uA Sleep)
  • Autonomy measured in years
  • May run many OSes and protocol stacks
  • Arduino compatible
  • Designed for energy harvesting

24

Lecture 2 - WSN

25 of 43

Sparrow - Technical Specs

25

Lecture 2 - WSN

26 of 43

Sparrow - Technical Specs

26

Range

Humidity

Meas. interval: 0 … 100 %

Meas. error: ± 2% RH

Luminosity

 

Meas. interval: 0...100000lux Visible & IR

UV index

 

Temperature

Meas. Interval: -40 … 100˚C

Meas. error: ±0.5˚C

 

Lecture 2 - WSN

27 of 43

Deployment: Off-grid building

27

Lecture 2 - WSN

28 of 43

Floor plan

28

Lecture 2 - WSN

29 of 43

29

30 of 43

Energy-Independent Indoor WSN

30

  • Employs energy harvesting
  • Miniature Solar Panel
  • Ultra low-power DC/DC
  • Super-capacitor storage
  • Achieves total energy independence in outdoor & indoor scenarios

PV panel

with DC/DC

converter

20F Supercap

Regular Sparrow Node

Lecture 2 - WSN

31 of 43

Results

31

Lecture 2 - WSN

  • Adaptive duty-cycling
    • adjust data transmission frequency to available energy
  • Voltage between 2.2V and 3V

32 of 43

Results

32

Lecture 2 - WSN

33 of 43

Seismic Building Monitoring

33

  • Measuring and monitoring seismic activities
  • How buildings behave when there is a minor earthquake

Lecture 2 - WSN

34 of 43

Seismic Building Monitoring

34

35 of 43

Platform Design

  • Sparrow nodes
  • Attached to the outside of buildings walls, on different floors
  • Monitor vibrations
    • High-precision accelerometer
  • Very high energy availability
    • Large battery
    • Autonomy of at least one year

35

Lecture 2 - WSN

36 of 43

Communication

36

Lecture 2 - WSN

37 of 43

Experimental Setup

  • Seismic shake table
    • slide and vibrate in two axes
    • simulated the resistance structure of a building using a metallic structure
  • At each level - a sensor node

37

Lecture 2 - WSN

38 of 43

Results

  • Seismic waves on each floor
  • Behavior is completely different depending on the distance from the base

38

Lecture 2 - WSN

39 of 43

Microsal – Salivary Pacemaker

  • Treatment of xerostomia
  • Neuro-electrostimulator for the salivary glands
  • Measured the level of salivary pH and humidity in the oral cavity
  • Stimulate the salivary glands to produce more saliva
  • Miniaturized dental implant incorporated in a dental crown

39

Lecture 2 - WSN

40 of 43

Microsal – Salivary Pacemaker

  • Connectivity to a tablet through BLE
    • See logged data
    • Set parameters
  • Data send and stored in Cloud

40

Lecture 2 - WSN

41 of 43

Microsal – Salivary Pacemaker

41

Lecture 2 - WSN

42 of 43

Microsal – Salivary Pacemaker

42

Lecture 2 - WSN

43 of 43

Keywords

  • Wireless Sensor Networks
  • Sensor node
  • Mote
  • Single-hop
  • Multi-hop
  • Sparrow

43

Lecture 2 - WSN