65
IoT Primer for High School Students Syam Madanapalli | IEEE Senior Member @smpalli

IoT Primer for High School Students

Embed Size (px)

Citation preview

Page 1: IoT Primer for High School Students

IoT Primer for High School Students

Syam Madanapal l i | IEEE Senior Member

@smpalli

Page 2: IoT Primer for High School Students

Outline

2@smpalli

State, Data and IoT

Innovating IoT Applications

Introducing the Internet

Defining IoT for Beginners

Page 3: IoT Primer for High School Students

3

What is the relation?

Time The Earth

@smpalli

Page 4: IoT Primer for High School Students

4

Time The Earth

Is a State of

Times gives the position of the Earth in the solar system.

@smpalli

Page 5: IoT Primer for High School Students

What if Time was NOT Invented?

5

Delayed the advancement of civilization

No

w

Later

Past

Future

Present

@smpalli

Page 6: IoT Primer for High School Students

@smpalli 6

Observation Measurement Electricity Internet

Devices evolved from observation to accurate measurement, and usage of battery and the Internet

Page 7: IoT Primer for High School Students

Time Advanced the Civilization

7

Time made discipline

Time enabled the collaboration

Time caused the Industrial Revolution*

* E. P. Thompson in Time, Work-Discipline,and Industrial Capitalism, 1967

@smpalli

Page 8: IoT Primer for High School Students

8

What if we can discover or invent more attributes on/for the Earth?

@smpalli

Page 9: IoT Primer for High School Students

9

State and DataEverything has state; many things need data

@smpalli

Page 10: IoT Primer for High School Students

Expiry Date Heart Rate Name of a Person Current Time

Everything has a State

@smpalli 10

Page 11: IoT Primer for High School Students

State is Exhibited with Attributes

11

State can be expressed with multiple attributes

Attribute Value

Temperature 24 C

Battery Level 65%

Name Thermostat

Others …

@smpalli

Page 12: IoT Primer for High School Students

State Machines

12

Few things expose internal state using state machines

@smpalli

Bulb

Page 13: IoT Primer for High School Students

State Machines may Take Inputs

13

Sometimes users control the state

@smpalli

Bulb

Page 14: IoT Primer for High School Students

Few Things need Data

@smpalli 14

Air-conditioner needs current temperature

and time

Washing machine may need current energy

tariff

Car needs road conditions for better

control

Page 15: IoT Primer for High School Students

People Need Data

@smpalli 15

Location information

Monitoring of health parameters

Waste level detection

Detecting tree cutting

Industrial equipment monitoring

Gas level detection for predictive maintenance

Page 16: IoT Primer for High School Students

We Need Control

@smpalli 16

Control lights and appliances

Ambulance controlling traffic signals

Vehicle speed control

Access control for security

Traffic monitoring and control

Remote parameter setting for equipment

Page 17: IoT Primer for High School Students

Data - Some devices have it; other devices or people want to use it

Existence of State and the Need for Data

17@smpalli

Data ProviderData Users

Thing

State User 1

Data

User 3

Data

User 2

Data

Page 18: IoT Primer for High School Students

How does the User get the Data?

18@smpalli

Data Providers Data Users

Page 19: IoT Primer for High School Students

Data Providers Data Users

Bridging Data Providers and Users

19@smpalli

Page 20: IoT Primer for High School Students

Everything has stateState is represented using attributes

State is transitioned into data from owner to usersMany users will have same data for different purpose

The Internet connects the data users to the ownersIt can scale to provide connectivity for trillions of devices

Thing

State

User

Data

Key Takeaways

20

Internet

@smpalli

Page 21: IoT Primer for High School Students

The InternetThe pervasive driver of change and improvement in our history

@smpalli 21

Page 22: IoT Primer for High School Students

The Internet

@smpalli 22

A mechanism for information dissemination

A medium for collaboration and interaction

Page 23: IoT Primer for High School Students

• Packet Switching

• ARPANET

• TCP/IP

• NCP

• TCP

• First Gateway

• World Wide Web• Time Sharing• Remote login• File transfer

• (Hot) Email• Broadband

• Social Networking

• SNMP

• IPSec

• DNS

• IPv4

• IPv6

• 6LoWPAN

• IoT• VoIP

1970 1980 1990 2000 2010 2020

• ARPANET moved to TCP/IP

• Blog

• IP Encryption

• IP Mobility History of the Internet

@smpalli 23

Page 24: IoT Primer for High School Students

The Internetting Concepts

@smpalli 24

Page 25: IoT Primer for High School Students

Protocol Layers and Packet Delivery

25

PHY

MAC

NET

PHY

MAC

NET

TRANS

APP PHY

MAC

NET

PHY

MAC

NET

PHY

MAC

NET

PHY

MAC

NET

TRANS

APP

Host 1

Router 2

Router 3

Router 1

Default Gateway1

Router 4Host 2

SourceDefault Gateway

2 Destination

1

2

Page 26: IoT Primer for High School Students

The Internet Evolution

@smpalli 26

Internet of Things

Social Networking

Web

11.8B

500M2003 6.3B

20147.2B

2020 7.6B

* based on Morgan Stanely

75B*

World Population Connected Devices

Page 27: IoT Primer for High School Students

Internet CoreMillion nodes

Routers, Servers

Internet FringeBillion nodes

Computers, mobiles

Internet of ThingsTrillion nodes

Sensors, Objects

Key Takeaways

27@smpalli

Page 28: IoT Primer for High School Students

28

Internet of ThingsThe next BIG thing on the Planet Earth!

@smpalli

Page 29: IoT Primer for High School Students

Alfred North Whitehead(1861 – 1947)

Civilization advances by extendingthe number of important operationswhich we can perform withoutthinking about them.

Introduction to Mathematics (1911)

29@smpalli

Page 30: IoT Primer for High School Students

Irrigation - Manual

30

Knowledge

@smpalli

Page 31: IoT Primer for High School Students

Irrigation - with the Internet

31

Comfort

Internet

@smpalli

Page 32: IoT Primer for High School Students

Irrigation - with IoT

32

Intelligence

@smpalli

Internet

Page 33: IoT Primer for High School Students

Irrigation - IoT allows Innovation

33

Smart

@smpalli

Internet

Page 34: IoT Primer for High School Students

Self-organizing network of objects/things

Internet as the major communication medium

Exchanging information between them and people

Helps in smart decision-making by harnessing the data

Internet of Things - the Definition

34

Internet

@smpalli

Page 35: IoT Primer for High School Students

Aging PopulationRequires better care

Limited ResourcesRequires conservation

Govt. InitiativesBetter citizen services

InnovationNew business models

Safety & SecurityBetter living standards

LifestyleConvenience

Information GenerationMeasurements and

tracking

35

Real-time InformationBetter decision making

Page 36: IoT Primer for High School Students

Smart Grid

Smart Cities

Smart Environment

Safety and Security

Smart Retail

Smart Logistics

Smart Farming

Industrial Control

Customer Service

Smart Homes

eHealthcare

Smart Water

IoT Applications

36@smpalli

Page 37: IoT Primer for High School Students

37

Smart C

ities

@smpalli

Page 38: IoT Primer for High School Students

38

Smart G

rid

@smpalli

Page 39: IoT Primer for High School Students

Smart Environment

39

Forest Fire Detection

Air Pollution Monitoring

EMF Level Detection

Landslide and Avalanche Detection

Snow Level Monitoring

Earthquake Early Detection

@smpalli

Page 40: IoT Primer for High School Students

Safety, Security and Emergencies

40

Access Control

Leakage Detection

Explosive and Hazardous

Gases

Radiation Levels

@smpalli

Page 41: IoT Primer for High School Students

Smart Water

41

Quality of Drinking Water

Swimming Pool

Maintenance

Water Metering

River Monitoring

Sea Monitoring

@smpalli

Page 42: IoT Primer for High School Students

Smart Retail

42

Supply Chain Control NFC Payments

Intelligent ShoppingSmart Product Management

@smpalli

Page 43: IoT Primer for High School Students

Smart Logistics

43

Quality of Shipment

Item Location Tracking

Warehouse Monitoring

Fleet Tracking

@smpalli

Page 44: IoT Primer for High School Students

Industrial Control & Automation

44

Visible FactorySmart Assembly

Plant Alarms Item Tracking

@smpalli

Page 45: IoT Primer for High School Students

Smart Farming

45

Precision Farming

Green Houses

Smart Irrigation

Smart Animal Farming

Micro-weather

Forecasting

@smpalli

Page 46: IoT Primer for High School Students

Smart Homes

46

Usage of Utilities

Smart Lighting

Appliance Control

Intrusion Detection

Pet Monitoring

@smpalli

Page 47: IoT Primer for High School Students

eHealthcare

47

Fall Detection

Patient Monitoring

Sportsman Care

UV Radiation Detection

Women & Child Care

@smpalli

Page 48: IoT Primer for High School Students

Best Experience

Time

No Experience

Walk-in

Telephone1-800

InternetWeb, ChatReal-time

IoTProactive,

Preventive,Future

The Future of Customer Service

48@smpalli

Page 49: IoT Primer for High School Students

1:11:N N:1

Time

Server Computing

Personal Computing

Pervasive Computing

IoT is Pervasive Computing!

49@smpalli

Page 50: IoT Primer for High School Students

50

Internet of Things will have direct implications on the physical world

Optimal living

Future for the next generations

Economic development

Job creation

Improved living standards

Empowers people

New business opportunities

Page 51: IoT Primer for High School Students

Key Takeaway

51@smpalli

IoT advances civilization

Page 52: IoT Primer for High School Students

52

Designing and Innovating IoT ApplicationsA scalable approach for designing the IoT based applications

@smpalli

Page 53: IoT Primer for High School Students

Access Technologies for IoT

53

Parameter IEEE 802.15.4 WiFi BLE

Frequency Band868, 915MHz

2.4GHz2.4, 5.0 GHz 2.4GHz

Topology Start, Mesh Star Star

Range 100m-3Km 250m 100m

Data Rate 250KBps 600Mbps 1Mbps

PowerBattery, Mains,

HybridMains Battery

Applications Industrial, outdoorsResidential and

office environmentResidential and

personal

Internetworking 6lowpan IPv6 Under development

Page 54: IoT Primer for High School Students

Low CostPhysical

ConstraintsLossy LinksLow Power

LowBoM

Less Code

Low Range

Low Data

Small Footprint

Self Healing

Minimal or no UI

'Things' - Design Considerations

54@smpalli

Page 55: IoT Primer for High School Students

Design for sleepReceiving is expensiveTime is energy - transmit quickDefine the state modelDefine a set of servicesSize is cost:

Button cell > AAA > AA > MainsSensors

Inputs Outputs

Battery

SoC

Designing the Things

55@smpalli

Page 56: IoT Primer for High School Students

Temperature SensorMeasures TemperatureReports the temperature every minute

Assumptions:Transaction duration: 3msCurrent consumption, avg: 30mANo. of transactions: 60 per hour

CR2032: ~Typical capacity 225 mAh = 810,000,000 mAmsNo. of transactions: 810,000,000 / (30 x 3) = 9,000,000No. of transactions per day: 60 x 24 = 1,440Duration of the battery: 9,000,000 / 1,440 = 6,250 days = 17.12 years

Assuming 30% overhead, the button cell would last for ~12 years.

How Long a Button Cell would last?

56@smpalli

Page 57: IoT Primer for High School Students

A temperature serviceA time serviceNo bleeding between users or services

Autonomous Services

57

Client behavior need not be definedClient use case determines the use of a serviceAllows innovation in client implementation

Server

Clients

Device

Services

User 1

Attributes

User 2 User 3

@smpalli

Page 58: IoT Primer for High School Students

Use case 1: Switching AC ON

Use case 2: Scheduled light ON/OFF

Use case defines how to use the services exposed by the devices

Light Service

Client

Time Service

Temp. Service

AC Service

Use Case

58@smpalli

Page 59: IoT Primer for High School Students

Autonomous Services - Innovation

@smpalli 59

100 Services = 1 267 650 600 228 229 401 496 703 205 375 Use cases

200 Services = more than the number of atoms on the Earth

Autonomous services allow Unlimited Innovation

n Services = ((2^n) – 1) possible Use cases

Page 60: IoT Primer for High School Students

Building Context

60

Chairs occupied

Table Interactions

Other inputs

Door Closed

Projector ON

No movement

Time

Other inputs

Lights OFF

Bed Occupied

Meeting is in progressContext

Person is sleepingContext

@smpalli

Page 61: IoT Primer for High School Students

App Deployment - PAN

61

Personal Area IoT Networks

@smpalli

Page 62: IoT Primer for High School Students

Large scale/metro area IoT networks

Deployment in Metro Areas

62@smpalli

Page 63: IoT Primer for High School Students

Key Takeaway

63

Application

Use Cases

Services

State

Attribute 1 Attribute 2 … Attribute n

@smpalli

Page 64: IoT Primer for High School Students

Be Courageous

@smpalli 64

Dr. A.P.J. Abdul Kalam(1931 – 2015)

“My message, especially to youngpeople is to have courage to thinkdifferently, courage to invent, totravel the unexplored path, courageto discover the impossible and toconquer the problems and succeed....”

Page 65: IoT Primer for High School Students

Thank You!smadanapal l i@gmai l .com

@smpalli

This talk was delivered to students at Visvesvaraya Industrial and Technological Museum, Bangalore

on Sep 15th 2015, the Engineer’s Day in India.