Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Beehive monitoring as an application of Fog Com...

Avatar for Klemen Lilija Klemen Lilija
September 30, 2016

Beehive monitoring as an application of Fog Computing

Voxxed Days Belgrade 2016

Avatar for Klemen Lilija

Klemen Lilija

September 30, 2016

Other Decks in Technology

Transcript

  1. A global infrastructure for the Information Society, enabling advanced services

    by interconnecting (physical and virtual) things based on, existing and evolving, interoperable information and communication technologies. - International Telecommunication Union
  2. Bee population decline • bees pollinate around 70% of world’s

    crops • decrease from 6 million (1945) to 3 million (2005) colonies • colony collapse disorder • possible reasons: • parasites • pesticides • malnutrition • agriculture intensification
  3. Bee population monitoring • project originally started by CISCO as

    CSR • part of The Global Initiative for Honey bee Health (GIHH) • CSIRO, federal government agency for scientific research in Australia
  4. CSIRO: RFID tags • 2,5 x 2,5 mm RFID sensor

    • checkpoints • 1000s of bees in Tasmania already tagged - csiro.au
  5. Beehive monitoring: first steps - dclohman, twitter • ESP8266 •

    WiFi router • relayr Cloud • Sensors: • Temperature • Humidity • Noise level • Weight
  6. Beehive monitoring: next iteration • WiFi -> 802.15.4 / 6LoWPAN

    • MQTT -> CoAP • gateway with a Wide Area Network (LoRa) • push ‘smartness’ to the edge of the network
  7. 6LoWPAN • IPv6 over Low power Wireless Personal Area Networks

    • adaptation layer for IPv6 IEEE 802.15.4 based networks • defines encapsulation and header compression mechanism • Zolertia (Contiki) • phyWave (RIOT) - zolertia.io - phytec.de
  8. LoRa • long range / good building penetration (up to

    15 km) • low energy usage for endpoints • ability to run in unlicensed bands (868/915/433 MHz) • high density of nodes
  9. LoRa • LoRa - physical layer (Semtech) • LoRaWAN -

    defines the MAC layer • The Things Network
  10. Beehive monitoring: next iteration • WiFi -> 6LoWPAN • MQTT

    -> CoAP • gateway with Wide Area Network (LoRaWAN) • push ‘smartness’ to the edge of the network
  11. ESP8266, send data every 10s. WiFi router, forward data packets.

    AWS, data aggregation, analytics, applications, etc. Mote Gateway Cloud
  12. Zolertia, send filtered data. Dell 5100 EDGE, streaming analytics. AWS,

    further data manipulation & application enabler. Mote Gateway Cloud
  13. Definition “Fog computing is a highly virtualized platform, which provides

    computation, storage, and networking services between the end nodes and traditional clouds.” - Aazam et al., IEEE, 2015
  14. Local computing • rack full of servers • Specialized gateway

    (DELL Edge Gateway 5100) • System on a chip (Raspberry Pi)
  15. Protocol translation • pluggable architecture, with adapters for different protocols

    • support legacy protocols • lower computing demands for attached devices • low power demands for the attached devices • lower cost of attached devices
  16. Sensor data translation • translation of sensor data into a

    uniform format • The IEEE 1451.4 Standard for Smart Transducers • additional metadata (Web Thing Model, W3C)
  17. Data storage • long term data storage • temporary data

    storage enabling local logic and data preprocessing • database replication • database clustering
  18. Local logic • control loop for rapid response industrial systems

    • low latency • high availability and reliability • rule engine • streaming analytics • local audio and video streaming
  19. Transport layer • transport of preprocessed data for service consumption

    • Encryption / decryption, authentication, privacy • transport abstraction for connection to the data center (HTTP, websockets, raw sockets, CoAP, etc.)
  20. Security • reduced attack surface • easier to keeping up

    with the evolving security protection • attack surface limited to the gateway-thing • mitigate the vastly different expected lifetimes of IT and ‘things’
  21. Device Management • registry of all devices that interact with

    a gateway • devices bootstrapped, added, updated and removed locally • firmware update of the gateway remotely