mobile and sensor systems

47
Mobile and Sensor Systems Lecture 8: Internet of Things and Sensor Integration Dr Andrea Gaglione

Upload: others

Post on 14-Apr-2022

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Mobile and Sensor Systems

Mobile and Sensor Systems

Lecture 8: Internet of Things and Sensor Integration

Dr Andrea Gaglione

Page 2: Mobile and Sensor Systems

About Me

2009 2010 2011 2014 2016 2017

Things Connected

2

Page 3: Mobile and Sensor Systems

In this lecture

• We will introduce the Internet of Things (IoT) paradigm

• We will talk about the major LPWAN technologies

• We will deep dive into LoRaWAN

3

Page 4: Mobile and Sensor Systems

The “classical” Internet

4Mobile clients

Base transceiver station (BTS)

Router / access point

Static clients

Page 5: Mobile and Sensor Systems

The rise of sensor networks

5

Page 6: Mobile and Sensor Systems

What is the IoT?

“A global infrastructure for the information society, enabling advanced services by interconnecting thingsbased on existing and evolving interoperable information and communication technologies” [1].

“A system of physical objects that can be discovered, monitored, controlled, or interacted with by electronic devices that communicate over various networking interfaces and eventually can be connected to the wider internet” [2].

6[1] ITU-T Recommendation Y.2060. Overview of the Internet of Things. 2012.[2] D. Guinard, V. Trifa. Building the Web of Things. 2016.

Page 7: Mobile and Sensor Systems

Hype cycle

7

Increased interest and investments in IoT technologies

50 billion IoTdevices by 2020 -Cisco

Page 8: Mobile and Sensor Systems

(Smart) Things

Physical objects digitally augmented with one or more of the following:• Sensors (temperature, light, motion, etc.)

• Actuators (displays, sound, motors, etc.)

• Computation capabilities

• Communication interfaces

8

Smart Thing

Sensors

Comms

Computation

Actuators

Page 9: Mobile and Sensor Systems

IoT landscape

9

Devices (tags, sensor nodes, mobile and wearable devices)

Machines (home appliances, security systems, vehicles, etc.)

Environments (smart homes, buildings, cities)

Page 10: Mobile and Sensor Systems

Typical IoT system architecture

IoT Device

IoT Gateway

IoT Cloud

Basic processingShort/wide commsSensing/actuation

Edge analytics Local storage

Service hostingVisualisations

Advanced analyticsData storage

Page 11: Mobile and Sensor Systems

Communication technologies

11

• Many communication technologies can be used to connect smart things

• Several factors dictate the choice of a technology for a specific application– range of connectivity– bandwidth– power consumption

Page 12: Mobile and Sensor Systems

Classification of communication technologies (range)

12

Near field

< 10 cm)

Personal area network (PAN)

Local area network (LAN)

Wide area network (WAN)

1 m – 50 m50 m – 1 km

1 km – 50 km

• RFID • NFC • QR codes

• Bluetooth / BLE• 802.15.4• Zigbee

• WiFi(802.11x)

• GSM (2G) / 3G / 4G / 5G

• LPWAN (LoRaWAN, Sigfox, NB-IoT, ...)

Page 13: Mobile and Sensor Systems

Classification of communication technologies (range vs bandwidth)

13

High

Medium

Low

Bandwidth

RangeShort Medium Long

WiFi(802.11x)

BluetoothBLE

RFID, NFC

802.15.4, Zigbee

2G

3G

4G

5G

LPWAN

Page 14: Mobile and Sensor Systems

LPWAN Technologies

14

Page 15: Mobile and Sensor Systems

Main characteristics

15

• Long range communication links

• Low bandwidth, low power

•Deep indoor penetration

• Very cheap radio modules

Page 16: Mobile and Sensor Systems

Estimated LPWAN market size

16

Page 17: Mobile and Sensor Systems

LPWAN market share by sector

17Source: Infoholic Research, 2016

Page 18: Mobile and Sensor Systems

Major LPWAN contenders

18

CAT-M1

Page 19: Mobile and Sensor Systems

Who is the winning competitor?

• There is no winner (yet)

• In the current market situation, there is space for all the contenders

• The choice of a technology over another is dictated by the application requirements

19

Page 20: Mobile and Sensor Systems

Typical LPWAN applications

• Smart metering• Air quality monitoring• Smart lighting• Asset tracking (not real-time)• Tank monitoring• Waste management

These applications are typically delay tolerant and require the transmission of only a few packets per hours

20LoRaWAN

Page 21: Mobile and Sensor Systems

Deep dive intoLoRaWAN

21

Page 22: Mobile and Sensor Systems

LoRa Alliance ecosystem

22

460+ companies

• LoRa Alliance members collaborate to drive the global success of LoRaWAN

Page 23: Mobile and Sensor Systems

What is LoRa?

• Physical layer or the wireless modulation utilised to create long distance communication link

• Spread spectrum technology– Chirp modulation– Low power, long range at expense of low data rate– Resistance to interference– Geolocation

• First commercial implementation of chirp spread spectrum technology

23

Page 24: Mobile and Sensor Systems

What is LoRaWAN?

• LoRaWAN is the network which uses LoRa as the underlying radio modulation

24

3 classes of devicesA. Battery powered

devices, bi-directional comm.

B. Battery powered devices, bi-directional comm., extra receive windows

C. Main powered devices

Page 25: Mobile and Sensor Systems

Network topology

25

Long-range star topology

Preserve battery life

Page 26: Mobile and Sensor Systems

End-device classes

• Battery powered – Class A– Bidirectional communications– End-device initiates communication (uplink)

– Server communicates with end-device (downlink) during predetermined response windows

– For every uplink, there are two possible downlink slots– Low power consumption, high latency

26

RX2RxDelay1

RxDelay2

Transmit RX1

Page 27: Mobile and Sensor Systems

End-device classes

• Low latency – Class B– Bidirectional with scheduled receive slots– There are pre-programmed downlink slots. Downlink is

possible at these times – Periodic beacon from gateway to synchronize downlink slots– High power consumption, low latency

27

Extra Slots

Beacon Period

RX2RxDelay1

RxDelay2

Transmit BCNBCN RX RX1RX…

Page 28: Mobile and Sensor Systems

End-device classes

• No latency – Class C– Bidirectional communications

– Server can initiate transmission at any time

– End-device is constantly receiving

– Main-powered devices, no latency

28

RX1 RX2

RxDelay1

Transmit RX2

Extends RX2 until next TX

Page 29: Mobile and Sensor Systems

End-device activation (joining)

• Before an end-device can communicate on the LoRaWAN network, it must be activated

• The following information is required:– Device Address (DevAddr)

– Network Session Key (NwkSKey)– Application Session Key (AppSKey)

29

Page 30: Mobile and Sensor Systems

End-device activation (joining)

• Device Address (DevAddr)– 32-bit identifier

– Unique within the network

– Shared between end-device, network server, and application server

• Differentiates nodes within the network, allowing the network to use the correct encryption keys and properly interpret the data

30

Page 31: Mobile and Sensor Systems

End-device activation (joining)

• Network Session Key (NwkSKey)– 128-bit AES encryption key

– Unique per end-device

– Shared between end-device and network server

• Provides message integrity for the communication• Provides security for end-device to network server

communication

31

Page 32: Mobile and Sensor Systems

End-device activation (joining)

• Application Session Key (AppSKey)– 128-bit AES encryption key

– Unique per end-device

– Shared between end-device and application server

– Used to encrypt / decrypt application data messages

• Provides security for application payload

32

Page 33: Mobile and Sensor Systems

End-device activation (joining)

• To exchange this information, two activation methods are available:

33

Activation By Personalization (ABP)

● Shared keys stored at production time

Over-the-Air Activation(OTAA)

● Over the air message handshaking

Page 34: Mobile and Sensor Systems

End-device communications (Class A)

34

End-device data message has to be acknowledged by the receiver

Let’s look at an example…

Confirmed-data message

Page 35: Mobile and Sensor Systems

End-device communications (Class A)

35

Gateways Network server

Application servers

Confirmed-data message

1. Vending machine needs to send informationto the related application server

Page 36: Mobile and Sensor Systems

End-device communications (Class A)

36

Gateways Network server

Application servers

Confirmed-data message

1. Vending machine transmits data. It is received by two gateways.

Data

Data

Page 37: Mobile and Sensor Systems

End-device communications (Class A)

37

Gateways Network server

Application servers

Confirmed-data message

2. Both gateways “pass through” the data to the network server.

Data

Data

Page 38: Mobile and Sensor Systems

End-device communications (Class A)

38

Gateways Network server

Application servers

Confirmed-data message

3. The network server forwards the data to the vending machine application server.

Data

Page 39: Mobile and Sensor Systems

End-device communications (Class A)

39

Gateways Network server

Application servers

ACK

Confirmed-data message

4. The vending machine application server sends an acknowledgement.

Page 40: Mobile and Sensor Systems

End-device communications (Class A)

40

Gateways Network server

Application servers

ACK

Confirmed-data message

5. The network server selects the best path (gateway) to transmit the acknowledgement to the end-device.

Page 41: Mobile and Sensor Systems

End-device communications (Class A)

41

Gateways Network server

Application servers

ACK

Confirmed-data message

6. The gateway transmits the acknowledgement to the end-device.

Page 42: Mobile and Sensor Systems

42

Introduction toThings Connected

Page 43: Mobile and Sensor Systems

Objectives

• Jumpstart the UK low power wide area network (LPWAN) ecosystem through a innovation support programme

• Establish an open low power wide area network (LPWAN) in London to be used as innovation testbed for the IoT community

• Empower UK businesses, innovators and communities with the knowledge and skills to become quickly productive on top of LPWANs

43

Page 44: Mobile and Sensor Systems

Things Connected

44

• London wide LoRaWANdeployment

• Launched open call Sep 2016 with 110+ expressions of interests, mainly SMEs

• LPWAN London community of 500+ members

• First cohort of 20 UK SMEs on-boarded successfully

• Currently working to expand the network

www.thingsconnected.net

Page 45: Mobile and Sensor Systems

Things Connected London partners

45

Programme deliverySME innovation support

Research Knowledge transferWork force skill-up

Node-hosting

App Enablement Knowledge partnerCertification &

testingLORA net provider

Page 46: Mobile and Sensor Systems

Key take aways

• IoT is past its hype as it moves into real commercial reality

• The hype has created a lot of market uncertainty and due to oversupply of proprietary solutions and fragmentation

• Several LPWAN technologies will have a significant role to play in the future

• Plenty of challenges to solve and exciting opportunities. It’s worth to work in this space!

46

Page 47: Mobile and Sensor Systems

Suggested readings

• O. Vermesan and P. Friess (eds.). Internet of Things –From Research and Innovation to Market Deployment. River Publishers Series in Communication. 2014

• ITU-T Recommendation Y.2060. Overview of the Internet of Things. June 2012.

• Z. Shelby and C. Bormann. 6LoWPAN: The Wireless Embedded Internet. Wiley Publishing. 2010.

• N. Sornin, M. Luis, T. Eirich, T. Kramp, O.Hersent. LoRaWAN Specification. Version V1.0. Lora Alliance. January 2015.

47