arm mbed edgearmtechforum.com.cn/attached/article/bj+sz-b7_mbedcloud... · 2019-09-04 · of iot...

25
© 2017 Arm Limited Arm Tech Symposia 2017 Arm Mbed Edge Nick Zhou | Senior Technical Account Manager

Upload: others

Post on 11-Jun-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Arm Mbed Edgearmtechforum.com.cn/attached/article/BJ+SZ-B7_MbedCloud... · 2019-09-04 · of IoT –Moderated by Jason Hillyard • Resolving the perfomance vs efficiency conflict

© 2017 Arm Limited Arm Tech Symposia 2017

Arm Mbed Edge

Nick Zhou | Senior Technical Account Manager

Page 2: Arm Mbed Edgearmtechforum.com.cn/attached/article/BJ+SZ-B7_MbedCloud... · 2019-09-04 · of IoT –Moderated by Jason Hillyard • Resolving the perfomance vs efficiency conflict

© 2017 Arm Limited 2

IoT increasing efficiency, yield, and convenience

Commercial buildings Precision farming and connected sites

Home

Better energy & space utilization

Increased yield combined with efficient use of resources

Increased security, more convenience, freeing up time

Page 3: Arm Mbed Edgearmtechforum.com.cn/attached/article/BJ+SZ-B7_MbedCloud... · 2019-09-04 · of IoT –Moderated by Jason Hillyard • Resolving the perfomance vs efficiency conflict

© 2017 Arm Limited 3

Arm Mbed: Bridging IoT cloud and device security

Page 4: Arm Mbed Edgearmtechforum.com.cn/attached/article/BJ+SZ-B7_MbedCloud... · 2019-09-04 · of IoT –Moderated by Jason Hillyard • Resolving the perfomance vs efficiency conflict

© 2017 Arm Limited 4

Key problems solved by IoT gateway solutions

`⬋

A P P

A P P

A P P

A ccess C ontrol

H VA C , Lighting, Energy M anagem ent

Proprietary BusinessSolutions

(com petitive edge)G atew ay w ith

M bed C loud Edge

M bed C loud

Page 5: Arm Mbed Edgearmtechforum.com.cn/attached/article/BJ+SZ-B7_MbedCloud... · 2019-09-04 · of IoT –Moderated by Jason Hillyard • Resolving the perfomance vs efficiency conflict

© 2017 Arm Limited 5

Multi-protocol device management Expands “Industrial” IoT SAM by 4x to non-IP devices – Connect the unconnected

2017 2020

IP connectable Non-IP

~80%

~20%~76%

~24%

Non-IP is large % of wireless device installed base

2.1B

3.4B

Source: 2017 IHS data - Industrial IoT SegmentIncludes Building automation, commercial transportation, retail systems, industrial automation, lighting, power & energy, security, signage, construction equipment, fueling, professional entertainment equipment, broadcasting

>75% require gateways to connect

Prevalence of non-IP devices across Industrial IOT

“By 2020, 90% of Internet of Things (IoT) projects will

utilize an IoT gateway, up from 60% today.”

- Gartner, Explore the Roles of IoT Gateways in Five Edge Use Cases, 16 June 2017

Page 6: Arm Mbed Edgearmtechforum.com.cn/attached/article/BJ+SZ-B7_MbedCloud... · 2019-09-04 · of IoT –Moderated by Jason Hillyard • Resolving the perfomance vs efficiency conflict

© 2017 Arm Limited 6

Gateway ManagementUptime, Uptime, Uptime!

Factory automation• Gateways provide local execution

• Online & offline operation

• Equipment can shut down, stopping factory lines

• Emergency situations, could require hard real-time control to stop

Critical requirements• Accurate, detailed, & timely error reporting

• Ability to react and respond

- Automation

- Quick recovery from failure

Page 7: Arm Mbed Edgearmtechforum.com.cn/attached/article/BJ+SZ-B7_MbedCloud... · 2019-09-04 · of IoT –Moderated by Jason Hillyard • Resolving the perfomance vs efficiency conflict

© 2017 Arm Limited 7

Edge Compute

Not all data can or needs to go to cloud

• Latency

• Offline operation

• Simplification

• Data conservation

Development platform & native bindings

Cloud Edge synchronization

Multi-tenancy

Application orchestration

Page 8: Arm Mbed Edgearmtechforum.com.cn/attached/article/BJ+SZ-B7_MbedCloud... · 2019-09-04 · of IoT –Moderated by Jason Hillyard • Resolving the perfomance vs efficiency conflict

© 2017 Arm Limited 8

Gateway key components

Gateway

Protocol stack implementation

Protocol normalization

Gateway & endpoint management

Gateway services

Security services

Compute

Application services

Cloud

Log database

Backup / Restore

Gateway & endpoint management

Gateway service management

Identity & access management

Edge compute orchestration

Portal & API gateway

mainly gateway

gateway & cloud

mainly cloud

Page 9: Arm Mbed Edgearmtechforum.com.cn/attached/article/BJ+SZ-B7_MbedCloud... · 2019-09-04 · of IoT –Moderated by Jason Hillyard • Resolving the perfomance vs efficiency conflict

© 2017 Arm Limited 9

Introducing Mbed Edge – protocol translationProvided as SDK for gateway OEMs to integrate into their hardware/software platform

Page 10: Arm Mbed Edgearmtechforum.com.cn/attached/article/BJ+SZ-B7_MbedCloud... · 2019-09-04 · of IoT –Moderated by Jason Hillyard • Resolving the perfomance vs efficiency conflict

© 2017 Arm Limited 10

Key components of Mbed Edge protocol translation

Mbed Cloud• Gateway device type in cloud device registration

Mbed Edge core• Gateway to proxy for protocol

• Gateway endpoint device

Legacy protocol translator & control• Manage and controls legacy devices connected

Firmware update• Update Mbed Cloud firmware

Mbed Edge software components

Mbed Edge core

legacy protocol translator &

control

firmware update

Legacy sensors

Mbed Cloud

Page 11: Arm Mbed Edgearmtechforum.com.cn/attached/article/BJ+SZ-B7_MbedCloud... · 2019-09-04 · of IoT –Moderated by Jason Hillyard • Resolving the perfomance vs efficiency conflict

© 2017 Arm Limited 11

Mbed Edge protocol translation - logical flow

Protocol translation

Native protocol

Mb

ed E

dge

Arm provided

Partner provided

Gat

eway

man

agem

ent

(Ethernet /LTE / Wifi)

Mbed Cloud clients

Gateway Process

Gateway

2 Identifier (MAC, ID, Serial #, etc.)

3 Proxy registration

4 Device registration

5 BT Device

(Ethernet /LTE / Wifi)

Mbed OS or other OSLWM2M

ENDPOINT

Mbed Cloud Client

LWM2M

CoAP

UDP / TCP

1 BT pairingnon-LWM2M ENDPOINTS

Bluetooth

Mbed Cloud

Page 12: Arm Mbed Edgearmtechforum.com.cn/attached/article/BJ+SZ-B7_MbedCloud... · 2019-09-04 · of IoT –Moderated by Jason Hillyard • Resolving the perfomance vs efficiency conflict

© 2017 Arm Limited 12

Mbed Edge protocol translation

Mbed Edge• Security between gateway and Mbed Cloud

• Reporting of any errors in either the protocol translation interface to the legacy interface or connection to Mbed Cloud

• Maintaining & reporting status of connectivity to Mbed Cloud

Partner (Gateway developer)• Onboard and pairing of legacy devices to the gateway legacy interface (e.g. BLE, Zigbee, Modbus)

• Protocol interface implementation between legacy interface and Mbed Edge

• Monitoring status of protocol translation interface and connectivity to Mbed Cloud, including error reporting to the cloud (arm provides example)

• Offline control and management of legacy interface in the event of loss of connectivity to Mbed Cloud

• Factory provision keys into the gateway

Working together: Partner and Arm responsibilities

Page 13: Arm Mbed Edgearmtechforum.com.cn/attached/article/BJ+SZ-B7_MbedCloud... · 2019-09-04 · of IoT –Moderated by Jason Hillyard • Resolving the perfomance vs efficiency conflict

© 2017 Arm Limited 13

Mbed Edge protocol translation

Mbed Partner* availability: Q4’2017

Available in source code

API Format

• Protocol translation: ‘C’

• mbed cloud status: REST (http)

Hardware reference design:

• Qualcomm IPQ4029 (OpenWRT)

• Advantech WISE-3610 - LoRA

If not already, join Arm Mbed Partner Program

Review protocol translation API

Download* Mbed Edge source & integrate onto your gateway platform

Write necessary code to bridge non-IP endpoints using Mbed Edge translation protocol translation API

Call to actionDeliverables

* Available in Q4’2017, watch for partner newsletter

How to get started:

Page 14: Arm Mbed Edgearmtechforum.com.cn/attached/article/BJ+SZ-B7_MbedCloud... · 2019-09-04 · of IoT –Moderated by Jason Hillyard • Resolving the perfomance vs efficiency conflict

© 2017 Arm Limited 14

Mbed Edge gateway management & edge compute componentsEdgeJS APIs

• Device normalization, control, events, on-boarding

• Alarming is a major IoT use case: Raise & lowerApplication specific alarming -customizable

• Subscribe to device events, take action

Protocol & Device Support

• Built-in: BACnet, modbus, ZigBee, Z-Wave, Bluetooth, UPnP, others

• Extensible. Vendors / customers can add their own support.

• Device controllers can be dynamically updated from the cloud.

EdgeDB

• Distributed database for gateways

• Allows storage to be shared across all gateways in a site

• Storage is local, works if cloud is down, syncs when cloud up

• Enables local edge computing across a “site”

EdgeJS Apps

• Control, listen, take action on devices locally without cloud

• Apps run across all gateways in the “site”

• Containers & Multi-tenancy – apps are protected from each other

• Cross-platform

Page 15: Arm Mbed Edgearmtechforum.com.cn/attached/article/BJ+SZ-B7_MbedCloud... · 2019-09-04 · of IoT –Moderated by Jason Hillyard • Resolving the perfomance vs efficiency conflict

© 2017 Arm Limited 15

Mbed Edge gateway management & edge compute

Gateway ManagementLarge scale management. Status, backup & restore, configurations, logging and remote access

Edge App & Device Support DeploymentDeploy new edge applications (secure docker containers), new device controller components, configure, rollback, etc.

Dashboard & monitoring APIs, AlarmingDeploy, manage & maintain many gateways, watch & monitor for custom alarms across many sites

Roles & Permissions Assign user roles across sites, determine device access.

Mobile Support Users can control & monitor devices.

Page 16: Arm Mbed Edgearmtechforum.com.cn/attached/article/BJ+SZ-B7_MbedCloud... · 2019-09-04 · of IoT –Moderated by Jason Hillyard • Resolving the perfomance vs efficiency conflict

© 2017 Arm Limited 16

Porting Mbed Edge enhanced stack onto new hardwareComplete Port

• Entire Linux OS system with all components

• Standard Linux OS kernel

• All systems management capabilities

• Radio support is the majority of time / cost

• Known, tested system. Full support

• Kernel patches and drivers for OEM hardware will be merged into the kernel, and Linux OS kernel for the OEM HW is provided

Component Port

• Key components port: Full protocol support (given that radios can be supported)

• Time must be spent understanding & potentially updating / patching portions of the OEM’s existing BSP

• Support will be limited

Page 17: Arm Mbed Edgearmtechforum.com.cn/attached/article/BJ+SZ-B7_MbedCloud... · 2019-09-04 · of IoT –Moderated by Jason Hillyard • Resolving the perfomance vs efficiency conflict

© 2017 Arm Limited 17

Mbed Edge Portal Key Capabilities

• Manages geographically dispersed gateways

• Sites: allow multiple gateways to share data redundant, durable.

• Full systems management: web UI control, logging, console if required

• Purpose built for IoT (compare this to solutions meant for servers which are re-purposed for gateways)

• Provides insight down to the end-device level

• Deploy IoT scripts fast using EdgeJS containers

Page 18: Arm Mbed Edgearmtechforum.com.cn/attached/article/BJ+SZ-B7_MbedCloud... · 2019-09-04 · of IoT –Moderated by Jason Hillyard • Resolving the perfomance vs efficiency conflict

© 2017 Arm Limited 18

Demo

Small commercial building

Viconics 8600(BACnet technology)

Fibaro Motion / Light / Temp Sensor(Z-Wave technology)

Wired Temperature Sensor(Modbus technology)

Gateway withMbed Cloud Edge

actual installation

iOS & AndroidMobile App Control & Monitoring

Mbed Cloud Edge Portal

Page 19: Arm Mbed Edgearmtechforum.com.cn/attached/article/BJ+SZ-B7_MbedCloud... · 2019-09-04 · of IoT –Moderated by Jason Hillyard • Resolving the perfomance vs efficiency conflict

© 2017 Arm Limited 19

Arm Mbed: Bridging IoT cloud and device security

Page 20: Arm Mbed Edgearmtechforum.com.cn/attached/article/BJ+SZ-B7_MbedCloud... · 2019-09-04 · of IoT –Moderated by Jason Hillyard • Resolving the perfomance vs efficiency conflict

© 2017 Arm Limited 20

Summary

IoT gateways will continue to play a critical role in IoT deployments for decades

3 critical components of Gateways

• (1) Protocol Translation

• (2) Gateway Management

• (3) Edge Compute

Mbed Edge – protocol translation available in Q4 2017 for Mbed partners

Mbed Edge – gateway management & edge compute, available in 2018

• Arm is looking for OEM and silicon partners

Page 21: Arm Mbed Edgearmtechforum.com.cn/attached/article/BJ+SZ-B7_MbedCloud... · 2019-09-04 · of IoT –Moderated by Jason Hillyard • Resolving the perfomance vs efficiency conflict

© 2017 Arm Limited 21

For further information…

At TechCon

• Accelerating intelligence-at-the-edge for embedded & IoT applications – Govind Wathan

• Connect your IoT device: Bluetooth 5, 802.15.4, NB-IoT – Prithi Ramakrishnan

• Enabling firmware updates over LPWAN – Jan Jongboom

• Panel: Breakthrough technologies enabling the future of IoT – Moderated by Jason Hillyard

• Resolving the perfomance vs efficiency conflict for embedded and IoT applications – Kinjal Dave

• Building firmware updates: the devil is in the details –Brendan Moran

Find demos and more information at the Arm booth (402) and Mbed booth (712)

• Connecting what you want, when you want to the IoT cloud – Karthik Ranjan

• Diversity of connectivity required for IoT devices –Sam Grove

After TechCon

[email protected]

https://developer.arm.com

Page 22: Arm Mbed Edgearmtechforum.com.cn/attached/article/BJ+SZ-B7_MbedCloud... · 2019-09-04 · of IoT –Moderated by Jason Hillyard • Resolving the perfomance vs efficiency conflict

2222

Thank You!Danke!Merci!谢谢!ありがとう!Gracias!Kiitos!

© 2017 Arm Limited

Page 23: Arm Mbed Edgearmtechforum.com.cn/attached/article/BJ+SZ-B7_MbedCloud... · 2019-09-04 · of IoT –Moderated by Jason Hillyard • Resolving the perfomance vs efficiency conflict

2323 © 2017 Arm Limited

The Arm trademarks featured in this presentation are registered trademarks or trademarks of Arm Limited (or its subsidiaries) in the US and/or elsewhere. All rights reserved. All other marks featured may be trademarks of their respective owners.

www.arm.com/company/policies/trademarks

Page 24: Arm Mbed Edgearmtechforum.com.cn/attached/article/BJ+SZ-B7_MbedCloud... · 2019-09-04 · of IoT –Moderated by Jason Hillyard • Resolving the perfomance vs efficiency conflict

© 2017 Arm Limited 24

Customer example: Major convenience store operator

Opportunity

• 6000 stores, 10-30 “devices” per store

• Sales Cycle:

- Pilot 3 months

- Rollout: 6 mos ~ 2 years

• What does it do?

- Energy Management System (EMS)

- Mobile control (HVAC, lighting)

- Preventive maintenance for HVAC, ice makers and refrigeration

- Lighting control

- Future: fuel tank management, customer analytics

Page 25: Arm Mbed Edgearmtechforum.com.cn/attached/article/BJ+SZ-B7_MbedCloud... · 2019-09-04 · of IoT –Moderated by Jason Hillyard • Resolving the perfomance vs efficiency conflict

© 2017 Arm Limited 25

Customer example: Major convenience store operator