technical challenges - how to design iot systems

52
HARDWARE CHALLENGES How to Design IoT Systems IoT Bulgaria Summit 2016

Upload: emil-kirilov

Post on 09-Jan-2017

112 views

Category:

Engineering


0 download

TRANSCRIPT

Page 1: Technical Challenges - How To Design IoT Systems

HARDWARE CHALLENGESHow to Design IoT SystemsIoT Bulgaria Summit 2016

Page 2: Technical Challenges - How To Design IoT Systems

A Set Of Benefits? Or… Expectations?

Save Resources Increase Productivity Improve Our Health Enable New Services To Free Our Time To Make Our Life Better

Improving Human’s Is A Complicated Problem

Page 3: Technical Challenges - How To Design IoT Systems

„For every complex problem there is a

solution that isclear, simple and wrong.“

Maybe IoT Is Such A Wrong Solution?H. L. Mencken

Page 4: Technical Challenges - How To Design IoT Systems

Why?

Social Acceptance Privacy Data Confidentiality Intellectual Property Tracking

Manipulation Control Personal Freedom Complexity Technical Challenges

Page 5: Technical Challenges - How To Design IoT Systems

What Are The Predictions?

We Already Have 10+ Billion IoT Devices In 10 Years It Is Expected Their Count To Be 50 - 100

Billion The Expected Financial Impact Will Be $11+ Trillion

What Does It Mean?

Page 6: Technical Challenges - How To Design IoT Systems

What Do We Need To Do?

Solve All Social Issues Decide The Level Of Intelligence Create Reliable, Ubiquitous Network Connectivity Cope With Noise And Interference Provide Unlimited Electrical Power

Let’s Go Deeper…

Page 7: Technical Challenges - How To Design IoT Systems

Noise

Data Noise Radio Noise Electrical Interference

What Do I Mean?

Page 8: Technical Challenges - How To Design IoT Systems

Can You Make A Call?

Page 9: Technical Challenges - How To Design IoT Systems

Do You Think You’ll Be Able To Upload Your Selfie?

Page 10: Technical Challenges - How To Design IoT Systems

In Electronics We Can Use Shielding And Filtering To Protect From Noise Like We Use Umbrellas.It Works Perfect For The Rain, But…

Page 11: Technical Challenges - How To Design IoT Systems

“No Matter How Many Umbrellas We Have They Will Not Stop The Tsunami”Dr. Alexei Nikitin, TEDx

Page 12: Technical Challenges - How To Design IoT Systems

Network and Connectivity

Unlimited And Uninterrupted Internet Connection 50-100 Billion Unique Identifiers Cope With Collisions And Other Issues

How Much It Will Cost?

Page 13: Technical Challenges - How To Design IoT Systems

How Much It Is Going To Cost?

Do The Math:

Assume That The Internet Connection In 2025 For A Device Will Cost $0.1 / Month

$0.1 Х 50 Billion = $5 Billion / Month

Who Will Pay It?

Page 14: Technical Challenges - How To Design IoT Systems

What About Electricity?

IoT Will Require Enormous Amount Of Electrical EnergyMore Math:

Average Consumption Of ESP8266 Is 80 mAP module = I x U = 0,08A x 3V = 0,24 WP total = 50 x 109 x 0,24 W = 12 000 MW= 6X The Capacity Of “Kozloduy Nuclear Power Plant”E = $1,5 Billion / Hour

Page 15: Technical Challenges - How To Design IoT Systems

“We cannot solve the problems with the same level of

thinking that created them”

Page 16: Technical Challenges - How To Design IoT Systems

How To Develop IoT Systems?

Page 17: Technical Challenges - How To Design IoT Systems

Who Are ZEKENG? ZEK Engineering Is A Hardware Designer Studio Established In 2007 As A Freelancing Company By 2

Engineers For 9 Active Years They Finished 150+ Projects I Joined The Company 6 Years Ago Part Time I Have Been Working Full Time For The Last 2 Years I Am Responsible For Customer Relations, Business

Development And The Internal Projects

What ZEKENG’s Team Has Achieved Over The Time In Partnership With Italian Designer Company

Page 18: Technical Challenges - How To Design IoT Systems

Worked On A Product CalledFree Power Jump By

Page 19: Technical Challenges - How To Design IoT Systems

Not Only Jumps… But Free Sense

Page 20: Technical Challenges - How To Design IoT Systems

This Started In 2011 !!!

It Was Done Before The ESP8266 Era When There Were No Tri-axial

Accelerometers And Gyroscopes And Each Of These Sensors Cost About

$30

Page 21: Technical Challenges - How To Design IoT Systems

Kippy Pet Finder – 2013GPS, GPRS & Bluetooth

Page 22: Technical Challenges - How To Design IoT Systems

Sensoria by2014

Page 23: Technical Challenges - How To Design IoT Systems

In The Period 2014 - 2016

Advanced Power Grid Quality Monitoring Systems IoT Motorcycles & Cars Multipurpose Temperature Monitoring Systems Intelligent Air Cleaning Systems Home/Office Automation Systems Antitheft Systems GPS Trackers People Meters Flood/Smoke/Gas Detectors & Alarms

Page 24: Technical Challenges - How To Design IoT Systems

The Ultimate IoT Design AlgorithmACCORDING TO US

Page 25: Technical Challenges - How To Design IoT Systems

What Is An IoT System?

SENSOR 1

INTERNET CONNECTIVITY

ACTUATOR 1

SENSOR 2

SENSOR N

… ACTUATOR 2

ACTUATOR M

…MICROCONTROLLER

USER INTERFACE

Page 26: Technical Challenges - How To Design IoT Systems

The Ultimate IoT Design Algorithm

1. Data & Actions2. User Interface3. Security4. Data Representation5. Internet Connection

6. Application Logic7. Power Supply8. MCU9. Development Tools10.Other

Page 27: Technical Challenges - How To Design IoT Systems

1A. Data

Sensors

TemperatureHumidityPressureWeightNoise

LightMotionSmoke

GasProximity

Parameters:• Precision• Data Rate• Interface/Protocol• Power

Consumption• Price

Page 28: Technical Challenges - How To Design IoT Systems

1B. Actions

Actuators

RelaysValvesPWM

SteppersOther

Parameters:• Precision• Speed• Interface/Protocol• Power

Consumption• Price

Page 29: Technical Challenges - How To Design IoT Systems

2. User Interface

User Interface

DisplayTouch Screen

ButtonsPotsLEDs

Parameters:• Interface/Protocol• Power

Consumption• Price

Page 30: Technical Challenges - How To Design IoT Systems

3. Security (From HW Perspective)

What Will Be The Level Of Security? Can We Use Standard Solution? Do We Need Additional Hardware? What Computation Power Will Be Needed?

Page 31: Technical Challenges - How To Design IoT Systems

4. Data Representation

Do We Need Special Conversions (Phase Correction, Integration)?

What Accuracy Is Needed? Do We Need Raw Or Processed Data? Do We Need Compression?

Page 32: Technical Challenges - How To Design IoT Systems

5. Internet Connection & Protocols

Connectivity Wi-Fi or LAN? GPRS/3G/4G Bluetooth ZigBee Sub 1GHz Other

Protocols HTTP, TCP, UDP MQTT, AMQP Z-Wave Thread LoRaWAN Other

Page 33: Technical Challenges - How To Design IoT Systems

6. Application Logic

What Amount Of The Application Logic Will Be Implemented On The IoT Device?

Centralized Or Decentralized System? What Level Of Intelligence?

Page 34: Technical Challenges - How To Design IoT Systems

7. Power Supply

DC-DC Adaptor? Battery – Rechargeable Or Not? Both? Energy Harvesting?

Page 35: Technical Challenges - How To Design IoT Systems

8. Microcontroller

How Much Computational Power? DSP? How Much Memory (RAM, Flash)? Do We Need Non-volatile Memory? (EEPROM) Do We Need RTC? How Accurate? Do We Need Low Power Modes? (Battery Power

Supply) SoC Or SoM?

Page 36: Technical Challenges - How To Design IoT Systems

9. Development Tools

Hardware Evaluation Kits Oscilloscope Other Calibration Tools Debugger (JTAG) Interfaces (USB-

>RS232)

Software Compiler – Price/License IDE Server Environments Other Software OS (Real Time /

Multitasking)

Page 37: Technical Challenges - How To Design IoT Systems

10. Other

Schematic Design PCB Design 3D Design Software Firmware Sophisticated Algorithms

Page 38: Technical Challenges - How To Design IoT Systems

Do We Have Time?

Page 39: Technical Challenges - How To Design IoT Systems

System For Temperature And Humidity ControlEXAMPLE

Page 40: Technical Challenges - How To Design IoT Systems

Example: Requirements

MICROCONTROLLER

T H PIR

T H

ALARM

LED INDICATOR

S

BATTERY POWER SUPPLY

Wi-Fi

MICROCONTROLLER

GRID POWER SUPPLY

RELAY IR Wi-Fi

ALARM

LED INDICATOR

THERMOSTAT ACTUATOR

Page 41: Technical Challenges - How To Design IoT Systems

Example: The Ultimate Algorithm

1. Data & Actions2. User Interface3. Security4. Data Representation5. Internet Connection

6. Business Logic7. Power Supply8. MCU9. Development Tools10.Other

Page 42: Technical Challenges - How To Design IoT Systems

Example: Data (Thermostat)

MICROCONTROLLER

TEMP SENSORHUMIDITY SENSOR

POWER SUPPLY

BATTERY POWER GRID

LED INDICATOR

ALARMSMOKE DETECTOR

T/H ADJUSTMENT

Wi-Fi

MOTION SENSOR

Page 43: Technical Challenges - How To Design IoT Systems

Example: Actions (Actuator)

MICROCONTROLLER

RELAY

INFRA RED

POWER SUPPLY

POWER GRID

LED INDICATOR

ALARM

Wi-Fi

Page 44: Technical Challenges - How To Design IoT Systems

Example: Data Representation & Security Data Representation:

- Binary, Fixed Point, TCP- | UID | TS | TEMP | HUM | MOTION | ALARM | CS |

Use Embedded Security Options

Page 45: Technical Challenges - How To Design IoT Systems

Example: Internet Connection & NW Topology

INTERNET

Wi-Fi GATEWAY

THERMOSTAT

ACTUATOR COOLER

ACTUATOR HUMIDITY

ACTUATOR HEATER

CLOUD SERVICE

REMOTE

CLIENT

LOCAL CLIENT

Page 46: Technical Challenges - How To Design IoT Systems

Example: Application Logic

All Devices Connect Virtually To The Cloud Service We Need Device Interaction Actuators Should Implement The Part Of The

Application

Page 47: Technical Challenges - How To Design IoT Systems

Example: Power Supply

MICROCONTROLLER

TEMP SENSORHUMIDITY SENSOR

POWER SUPPLY

BATTERY POWER GRID

LED INDICATOR

ALARMSMOKE DETECTOR

T/H ADJUSTMENT

Wi-Fi

MOTION SENSOR

3.0V 1.8V

3.3V

3.3V; 5V

3.3V; 5V2.4V – 4.2V 5V

I2C

I2CUART

GPIO

ADC

UART

PWM

PWM

Page 48: Technical Challenges - How To Design IoT Systems

Example: Microcontroller

Wide Power Supply Range: 2.1 – 3.6V SoC – Wi-Fi ARM Core + ARM Cortex M4 @ 80MHz Hibernate Low Power Mode – 4µA 12-bit ADC, SD/MMC, 4 Timers, PWM, RTC SPI, I2C, UART Hardware Crypto Engine Hardware CRC and Checksum IP Stack TCP/UDP Sockets

Page 49: Technical Challenges - How To Design IoT Systems

Example: Development Tools SimpleLink Wi-Fi CC3200 module LaunchPad SimpleLink Wi-Fi CC3200 Software Development Kit

(SDK) Code Composer Studio (CCS) or IAR JTAG – XDS100 TI RTOS

Page 50: Technical Challenges - How To Design IoT Systems

YOU CAN DO IoT!But Would You?

OrYou Will Try To Avoid The IoT Hype?

Page 51: Technical Challenges - How To Design IoT Systems

“You can avoid reality, but you cannot avoid the consequences of

avoiding reality”

Ayn Rand

Page 52: Technical Challenges - How To Design IoT Systems

Thank you!email: [email protected]: +359 88 531 2217www: http://www.zekeng.com/contact-us/Fb: https://www.facebook.com/zekengineering/

GET THE FREE BOOK: IoT Design Full Guidehttp://www.zekeng.com/iot-design-full-guide-optin/Bonus: FREE Consultation