Top Banner
www.assodel.it - www.tecnoimprese.it The Role of the Communication Protocols in the IoT: Pitfalls and Advantages Fabio Gatti Nov 7 th , 2017
27

The Role of the Communication Protocols in the IoT: Pitfalls and Advantages

Jan 28, 2018

Download

Engineering

FABIO GATTI
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: The Role of the Communication Protocols in the IoT: Pitfalls and Advantages

www.assodel.it - www.tecnoimprese.it

The Role of the Communication

Protocols in the IoT: Pitfalls and

Advantages

Fabio Gatti – Nov 7th, 2017

Page 2: The Role of the Communication Protocols in the IoT: Pitfalls and Advantages

www.assodel.it - www.tecnoimprese.it

From 1984 we transfom

the electronic industry

Italian Federation of Electronics Clusters

Over 300 member

companies

Electronics, Human &

Urban Technologies,

SSL Lighting

Cooperations with

bodies and Istitutions

Publishing, meeting and

conference, Exhibitions,

Technological workshop

Training, startup, Award

Help you to sell

Page 3: The Role of the Communication Protocols in the IoT: Pitfalls and Advantages

www.assodel.it - www.tecnoimprese.it

Internet 1.0: Some pills of history1969: Linking the first computer using Arpanet network

1991: CERN discloses the launch of WWW

1996: the quantity of hosts go beyond 10M units

Page 4: The Role of the Communication Protocols in the IoT: Pitfalls and Advantages

www.assodel.it - www.tecnoimprese.it

Towards the Internet of Things

1999: the researcher Kevin Ashton used this new term in order to describe a system connected to the Internet through a distribuitedsensor network

Page 5: The Role of the Communication Protocols in the IoT: Pitfalls and Advantages

www.assodel.it - www.tecnoimprese.it

IOT: a System viewHere are the main building blocks you can find in a (simplified) IOT system:

IOT Device (constrained / full cap)

Gateway

Cloud

Application services (Analytics / DS)

Remote access through Smart Devices

Constrained

Full capability

Page 6: The Role of the Communication Protocols in the IoT: Pitfalls and Advantages

www.assodel.it - www.tecnoimprese.it

Many distributed sensors communicating with many protocolsMultiprotocol gw connected through fiber to the InternetMany services accessible through mobile APPs

Many technologies and protocols working together

An application, Home automation

Page 7: The Role of the Communication Protocols in the IoT: Pitfalls and Advantages

www.assodel.it - www.tecnoimprese.it

Distributed sensor in the production line communicating throughdifferent protocols

Multiprotocol gw connected through fiber to IntranetKPI available in real time

(Ass

emb

ly li

ne

SGW

co

rp-

Shen

zhen

CH

N)

An application, Industrial IOT

Many technologies and protocols working together

Page 8: The Role of the Communication Protocols in the IoT: Pitfalls and Advantages

www.assodel.it - www.tecnoimprese.it

Many wireless sensors distributed all over the urban areaFull-mesh multiprotocol networkMany services gathering real time information

An application, Smart City

Many technologies and protocols working together

Page 9: The Role of the Communication Protocols in the IoT: Pitfalls and Advantages

www.assodel.it - www.tecnoimprese.it

In the typical IOT system thereare many protocols workingtogether…

… they play the role of a glue keeping all the

subsystems together

The role of the protocols

Page 10: The Role of the Communication Protocols in the IoT: Pitfalls and Advantages

www.assodel.it - www.tecnoimprese.it

Reference architecture

Sourc

e:

Azure

-M

icro

soft

Let’s have a look to the communication protocols !

Page 11: The Role of the Communication Protocols in the IoT: Pitfalls and Advantages

www.assodel.it - www.tecnoimprese.it

The short range protocols

Some devices connect to the cloud using a local gateway

Page 12: The Role of the Communication Protocols in the IoT: Pitfalls and Advantages

www.assodel.it - www.tecnoimprese.it

Network Operator

Cloud

Network Operator

Cloud

Network Operator

Cloud

The Long range protocols

Some devices connect to the cloud using a network operator…

Page 13: The Role of the Communication Protocols in the IoT: Pitfalls and Advantages

www.assodel.it - www.tecnoimprese.it

data and monitoring

data and monitoring

According to the project spec, you can solve your use case in many ways.

One use-case, different solutions

Page 14: The Role of the Communication Protocols in the IoT: Pitfalls and Advantages

www.assodel.it - www.tecnoimprese.it

bluetooth

802.15.4

WI-FI

range

throughput

Sigfox

Lorawan

NB-IOT

4G

10m 100m 1-10Km

Telecomm protocols: throughput vs. range

Page 15: The Role of the Communication Protocols in the IoT: Pitfalls and Advantages

www.assodel.it - www.tecnoimprese.it

Protocolli Long Range

Cellular

LTE

NB-IOT

LPWAN

Sigfox

Lorawan

Long range protocols

Page 16: The Role of the Communication Protocols in the IoT: Pitfalls and Advantages

www.assodel.it - www.tecnoimprese.it

3GPP standard for low data rate/low energy devices

Peak Data rate DL up to 180kbps (typ value: some tens of Kbps

in UL/DL)

Battery duration > 10 y in case of a typical usage of max 200

byte/day (feature PSM/eDRX in rel. 13)

Max latency < 10 sec

Number of devices: 50K ue/ eNodeB Sector

maximum channel loss (MCL): 164dB

OTDOA positioning (rel. 14): typical error 50m

NB-IOT: main features

Page 17: The Role of the Communication Protocols in the IoT: Pitfalls and Advantages

www.assodel.it - www.tecnoimprese.it

According to the network operator,

there are 3 different deployment

solution:

Stand Alone

Guard band

In band

The impact of NB-IOT deployment on LTE network is neglegible

NB-IOT: frequency range

Page 18: The Role of the Communication Protocols in the IoT: Pitfalls and Advantages

www.assodel.it - www.tecnoimprese.it

They use unlicensed spectrum band

They usually access the network in random way (Aloha style)

Low power and energy consumption

Constrains in rf power and duty cycle (air time)

Sourc

e:

Keysig

ht

LPWAN solutions

Page 19: The Role of the Communication Protocols in the IoT: Pitfalls and Advantages

www.assodel.it - www.tecnoimprese.it

RF spectrum: a crowded garden

Many protocols share the same frequency band

Noise and interference can be present (better if you can have

a site survey)

Sourc

e:

Keysig

ht

Page 20: The Role of the Communication Protocols in the IoT: Pitfalls and Advantages

www.assodel.it - www.tecnoimprese.it

LPWAN: an example

World-wide network (but some country are not covered yet !)

Ultra Narrow Band (UNB) transmtter, B: 100Hz

Tx data rate: 100bps

Constrains: 140 messagges/day (6 mess/hour), max lenght

12 byte

Typical mode: uplink mode

Downlink is possible with active polling (4 mess/day)

GPS-free Location service: variable precision, from 500m up

to some tens of km

Sourc

e:

Sig

fox

Page 21: The Role of the Communication Protocols in the IoT: Pitfalls and Advantages

www.assodel.it - www.tecnoimprese.it

Coverage: LoraAlliance and local operator+ operatori locali

It is possible to have a gateway architecture

Proprietary chirp modulation by Semtech

Tunable transmission parameter (tradeoff between number of

messages / link budget)

Bi-directional link

GPS-free Location service: variable precision, from 500m up

to some tens of Kms

(Typic

allo

calcovera

ge)

LPWAN: an example

Page 22: The Role of the Communication Protocols in the IoT: Pitfalls and Advantages

www.assodel.it - www.tecnoimprese.it

Telecom protocols: the whole picture

Page 23: The Role of the Communication Protocols in the IoT: Pitfalls and Advantages

www.assodel.it - www.tecnoimprese.it

A project tip: beware proprietaty protocolsUsing proprietary protocols sets

some constrains on a secondsource solution.

Designing according to the standards gives you some choicefor the inter-operability

Use standard protocols in your project!

Page 24: The Role of the Communication Protocols in the IoT: Pitfalls and Advantages

www.assodel.it - www.tecnoimprese.it

How to simplify project development

Simulator

Project specification

Interface def

Device development

Cloud development

Gateway development

App development

Integration phase

Sys Test

Test

Test

Test

Test

Release

GO/ NO_GO decision with the customer

By using standard protocols and well-defined interface you can share the whole system in blocks and go for a parallel development

Partnership with an

external supplier

prototype

Page 25: The Role of the Communication Protocols in the IoT: Pitfalls and Advantages

www.assodel.it - www.tecnoimprese.it

Summing up

In order to choose the comm protocols fit for your project, have a look at:Application type (how many data, how often)Coverage (local or wide area)Energy consumption (battery or PSU)Costs (subscription fee, mess fee, certification fee)Your device must fulfill standard regulation (constrain on rf power and

air time)

There are many solutions but the best one depends

on the project (and Customer) req

Conclusions

Page 26: The Role of the Communication Protocols in the IoT: Pitfalls and Advantages

www.assodel.it - www.tecnoimprese.it

Let’s play !

Let’s put everything together and let’s see how a smart city uses all theseprotocols with an Open Source simulator:

Cupcarbon U-One

Page 27: The Role of the Communication Protocols in the IoT: Pitfalls and Advantages

www.assodel.it - www.tecnoimprese.it