industrial iot mayhem? java iot gateways to the rescue

33
Industrial IoT Mayhem? Java IoT Gateways to the Rescue Dave Woodard: Sr. Software Engineer Walt Bowers: IoT Solutions Architect Sept 20, 2016

Upload: eurotech

Post on 16-Apr-2017

539 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Industrial IoT Mayhem? Java IoT Gateways to the Rescue

Industrial IoT Mayhem?

Java IoT Gateways to the Rescue

Dave Woodard: Sr. Software Engineer

Walt Bowers: IoT Solutions Architect

Sept 20, 2016

Page 2: Industrial IoT Mayhem? Java IoT Gateways to the Rescue

Outline – Where we are headed

• Eurotech Overview

• Industrial IoT Gateway Complexity

• Making IIoT Gateway’s Simple

• Demo – Kura Wires and IIoT

2

Page 3: Industrial IoT Mayhem? Java IoT Gateways to the Rescue

Eurotech Overview

• One of the world top players in the global Embedded Computers market

• Behind the products & services of more than 20 Global 500 companies

• 20+ Years of experience in “M2M” and distributed systems

– 20+ Years experience in OT / embedded / gateway hardware & software

– 16 Years ago co-developed MQTT with IBM

– 10+ Years experience with Java in embedded

– 6+ Years history in M2M/IoT cloud platforms

• Strong vertical market competencies:

– Industrial & Logistics

– Transportation

– Defense & Security

– Healthcare & Medical 3

Page 4: Industrial IoT Mayhem? Java IoT Gateways to the Rescue

Eurotech Overview

• Active in Eclipse IoT

– One of founding member companies

– http://iot.eclipse.org/

• Contributors to Kura and Kapua

– Contributed the original code from ESF

– https://www.eclipse.org/kura/

• OSGi Alliance

– IoT Expert Group

– http://osgi.org

Some of Our IoT Activity

Page 5: Industrial IoT Mayhem? Java IoT Gateways to the Rescue

The IT/OT Challenge: Connecting Diverse Worlds

DATA DEVICES BUSINESS MODELS

Page 6: Industrial IoT Mayhem? Java IoT Gateways to the Rescue

The Internet of Things IoT Solutions …

DATA

IOT Sensors

SERVICES

platform

M2M

monitoring

management

RE

MO

TE

Preventive Maintenance

many-to-one

machines

DE

VIC

ES

a

ctu

ato

rs

HM

I

ne

ar

rea

l-tim

e

MQTT

PR

OT

OC

OL

S

field

bus

HA

RD

WA

RE

gateway

MULTI SERVICE

REST unattended

OT IT/OT INTEGRATION

iPaaS

IaaS

BIG DATA

AN

ALY

TIC

S

business intelligence

IT CEP

CL

OU

D

on-premise

database

ES

B

SaaS

MOBILE

AP

PLIC

AT

ION

INT

ER

NE

T

virtualization

IaaS

IP open source

CONTEXT

DECISION

Bu

sin

ess M

ode

ls

AS

SE

T

cellular wireless satellite

BUSINESS

INTEGRATION services

servitization

CO

ST

CUSTOMER

PARTNER

OE

Ms

ORGANIZATIONS

PRODUCT

VALUE

su

pp

ort

INFRASTRUCTURE

ou

tso

urc

ing

new

business models everything as a service

DaaS iPaaS

TCO

FLEXIBILITY

Carrier

Certifications

… require seamless integration between the things in the

field and the enterprise applications without creating

dependencies

Page 7: Industrial IoT Mayhem? Java IoT Gateways to the Rescue

The Internet of Things

• Performance constrains

• Few standards

• Human resource constraints (C++)

• Expensive, limited communication

• Monolithic approach

• Single-purpose devices

• Hardware-defined systems

• Store-and-Forward communication

• Operations-centric approach

Evolution: M2M 2.0 = IoT

• Powerful embedded systems

• Open and industry standards

• No HR constrains (Java)

• Inexpensive, available communication

• System & platform approach

• Multi-service systems

• Software-defined systems

• Real-time data and communication

• IT-centric approach

“Old M2M” M2M 2.0 = IoT

Page 8: Industrial IoT Mayhem? Java IoT Gateways to the Rescue

IoT Challenges

Fragmentation

Complexity

Lock-in

Page 9: Industrial IoT Mayhem? Java IoT Gateways to the Rescue

Fragmentation

Protocols to Cloud

– MQTT

– LWM2M

– CoAP

– AllSeen

Sensor Protocols

– CANBus

– MODBus

– OPC-UA

– Bluetooth

– BLE

– DECT

– ZigBee

– Z-Wave

Hardware

– ARM

– Intel

Standards

– oneM2M

– Thread

– AllSeen

– Industrial Internet Consortium

– IEEE

Page 10: Industrial IoT Mayhem? Java IoT Gateways to the Rescue

Lock-in

Hardware Sensor(s)

Vertical Market

Protocol(s)

Page 11: Industrial IoT Mayhem? Java IoT Gateways to the Rescue

Complexity

Reliability

– Store and forward

– Best Effort

– Guaranteed

Maintenance and Lifecycle Management

– Deployment/Install

– Upgrade

– Provisioning/Configuration

Security

– Sensors

– Data

– Network

Network Management

– LAN

– WAN

– Cell

Integration

– Heterogeneous

environments

Page 12: Industrial IoT Mayhem? Java IoT Gateways to the Rescue

Embracing IoT Complexity How to accelerate overall solution engineering process?

How to include phased, incremental changes?

Business

Applications

Sensors,

Actuators,

Displays, …

?

@

12

Page 13: Industrial IoT Mayhem? Java IoT Gateways to the Rescue

IoT Challenges Addressing the Challenges

Fragmentation

Complexity

Lock-in

Page 14: Industrial IoT Mayhem? Java IoT Gateways to the Rescue

Upwards Abstraction towards Business Tiers

Complexity tamed bottom up.

Business

Applications @

IoT Integration Platform Operational

Technologies

Cloud-side

@

Enterprise

Information

Technologies Data&Analytics Platform

Sensors, Actuators,

HMI, SCADA, PLC

Multi-Service

Gateway

14

Page 15: Industrial IoT Mayhem? Java IoT Gateways to the Rescue

Sensors,

Actuators,

etc.

Modularity and Scalability Adapting to Existing Field Implementations.

Device Cloud

Infrastructure

Distributed Device Logic

& Infrastructure

Business /

Application Logic

& Infrastructure

Applications /

Enterprise IT M2M Gateways,

Smart Edge Nodes,

Connected Sensors

M2M Gateway Cloud

Client

HW Cloud

Client Integrated Solution

Cloud

Client

Connected

Sensor

Sensor,

Machine

M2M

Integration

Platform

M2M

Protocols

MQTT

15

Page 16: Industrial IoT Mayhem? Java IoT Gateways to the Rescue

The Internet of Things

• IT centric, open and standards based IIoT / IoT

connectivity platforms as building blocks for extending the

enterprise IT

• Implementation of “Enterprise Service Bus for Machines”

like architectures to allow an easy integration of different

device data systems and applications

• Software-defined Gateway approach to integrate and

consolidate data streams and future proof investments

• IT centric application development and management to

implement business logic in smart edge devices / service

gateways

• Off the shelf general purpose and purpose built devices

(and CPU Boards) designed to meet vertical market value

propositions

Distributed Systems Fundamental Building Blocks

IoT

Integration

Platform

Multi-

Service

Gateway

Approach

Page 17: Industrial IoT Mayhem? Java IoT Gateways to the Rescue

IoT Integration Platform Typical Features

M2M / IoT Integration Platform

Devices Devices Devices Multi-Service

Gateways

Generic

Device

Adapter

Specific

Device

Adapter

Modbus

PLC

Application Platform • Service Abstraction

• Data Normalization

• Translation

• Message Routing

• Pub/Sub

• Low Latency

• Data Aggregation

• Compression

• Security

• Buffering

• WAN Optimization

• Device Lifecycle

Management

• Device Abstraction

• Business Logic in Java

• Device Lifecycle

Management

• Field Technology

Integration

17

Page 18: Industrial IoT Mayhem? Java IoT Gateways to the Rescue

The MultiService Gateway IoT Approach Overview

System

Infrastructure

Application

Integration

Layer

Application

Layer

Communication

Infrastructure

Field Infrastructure

MQTT

M2M / IoT

Integration

Platform

Device HW

Gateway, OS, Security

Gateway Application Framework

Certifications, Device Connections

Aggregators & On-

Premise Platforms

M2M Integration / IoT Application Enablement /

Device and Data Management Platform

SIM Management &

Communication Infrastructure

Optimum

M2M / IoT

Protocols

Public

Cloud

Private

Cloud

Sensors, HMIs, Actuators, etc.

aPaaS SaaS

Enterprise Applications

Big Data

Databases

Analytics

Enterprise IT

Mining

CEP

ERP CRM ….

Page 19: Industrial IoT Mayhem? Java IoT Gateways to the Rescue

How to make it simple?

OSGi

Open

Source

Java

Page 20: Industrial IoT Mayhem? Java IoT Gateways to the Rescue

Certified

Modems

M2M / IoT

Gateways & Devices Open Hardware

Linux

Java / OSGi

OT Hardware Integration / Device Abstraction

Open Source IoT M2M Stack Complete Set of Integrated OS HW & SW Building Blocks

IoT Device

Middleware

TCP/IP

IoT

Integration

Platform

Client

Device HW

MQTT

Connectivity

& Delivery

Network

Configuration

Field

Protocols

Basic

Services

Embedded

Applications Security Administration

Connectivity

Management

Real-Time

Data

Security Administration

Historical

Data

Device

Management

Embedded App

Management

BRMS IT Application Integration Kapua

Page 21: Industrial IoT Mayhem? Java IoT Gateways to the Rescue

Why a Java OSGi IoT Gateway Stack? Increase productivity

OSGi

on

Linux

Hardware

Java SE Embedded

Code

Code

Code

• Platform Independent

• Modular

• Services – Reusable

and discoverable

• Easier integration into

complex systems

• Isolation from

Fragments

Page 22: Industrial IoT Mayhem? Java IoT Gateways to the Rescue

Why Open Source IoT Gateway Stack?

IoT Gateway Challenges:

• Pressure to add value in

shrinking timeframes

• Velocity of technology changes

outstrips staffing

• Interoperability trumps

exclusive differentiation

• Quest for quality w/o lock-in

Open Source is the Answer!

Founded in 2012 by

• Now …

– 23+ Members

– 25+ new projects

– 1M+ lines of source code

– The fastest growing Eclipse

workgroup http://www.slideshare.net/blackducksoftware/io-t-and-open-source

Open source is the fast prototyping enabler

Page 23: Industrial IoT Mayhem? Java IoT Gateways to the Rescue

Industrial

IoT Gateways

From Prototype to Production Efficient Development & Investment Protection

Open Hardware

Open Software

Page 24: Industrial IoT Mayhem? Java IoT Gateways to the Rescue

Eclipse Kura Open Java OSGi Framework for IoT Gateways

https://www.eclipse.org/kura/

https://iot.eclipse.org/java/

Page 25: Industrial IoT Mayhem? Java IoT Gateways to the Rescue

Kura Under the Hood

Java SE 7 (Oracle Java SE Embedded, OpenJDK)

OSGi Application Container (Eclipse Equinox, Concierge)

Device Abstraction

javax.comm

Basic Gateway Services

DB Service

Clock Service

Device Profile

Watchdog

Network Configuration Network Configuration

Field Protocols Connectivity and Delivery

Data Services MQTT Paho

Ad

min

istr

ati

on

GU

I

Applications

Your Application

Rem

ote

Man

ag

em

en

t

Con

fig

ura

tio

n

Ma

na

ge

me

nt

javax.usb / udev

Cloud Services

Your Application

Firewall,

Port

Forwarding

Link Monitors Cellular, Wi-Fi,

Ethernet

GPS Position GPIO / SPI / PWM / I2C

Modbus

CANBus

Custom Protocols

Upd

ate

s

Ma

na

ge

me

nt

Page 26: Industrial IoT Mayhem? Java IoT Gateways to the Rescue

Developer’s Experience

Emulate on PC Deploy on Target Cloud Managed

Start developing your IoT

/M2M application in the

comfort of your PC.

• Full Eclipse Integration

• Target Platform Definition

• Emulated Services

• Run/Debug from Eclipse

• Support Mac/Linux Hosts

When you are ready, deploy

your application on the

gateway.

• One-click Deployment

• Eclipse Plugin

• Remote Debugging

Provision and manage your

applications in field devices

from the Cloud.

• Remote OSGi

Management via MQTT

• Web-based Console

Page 27: Industrial IoT Mayhem? Java IoT Gateways to the Rescue

Demo :

Industrial IoT with Kura Wires

Page 28: Industrial IoT Mayhem? Java IoT Gateways to the Rescue

Kura Wires - Terminology

• Composer UI - It is the canvas area for Kura Wires in which the

dataflow graph will be created.

• Logical Block - A Logical Block is a visual element in the

Composer UI which is represented as a node in the Kura Wires

dataflow graph.

Page 29: Industrial IoT Mayhem? Java IoT Gateways to the Rescue

Kura Wires – Logical Blocks

• Computational Block - A Computational Block is a Logical Block,

capable of receiving, processing and emitting data to the connected

downstream logical blocks. It can be, for example, data store, data

filter, data publisher instances that will be used to manage data.

• Wire - A Wire is a logical connection between the Logical Blocks which

allows to define a concrete dataflow in Kura Wires.

• Asset - An Asset is a Logical Block that is capable of communicating

with specific sensors and/or actuators of Industrial Device using

specific protocol.

• Wire Graph - A Wire Graph is a dataflow graph comprising several

aforementioned Logical Blocks which represents an Industrial IoT

application scenario.

Page 30: Industrial IoT Mayhem? Java IoT Gateways to the Rescue

Kura Wires – Wire Graph

Page 31: Industrial IoT Mayhem? Java IoT Gateways to the Rescue

Kura Wires -To Learn More

• Visit the Eclipse Booth 5017 in Exhibition Hall

– Monday 3:30-5:30

– Tuesday 1:30-3:30

– Wednesday 1:00 – 2:45

Page 32: Industrial IoT Mayhem? Java IoT Gateways to the Rescue

Resources and Acknowledgements

• Eclipse IoT: http://iot.eclipse.org/

• Eclipse Kura: https://www.eclipse.org/kura/

• Amit Mondal – Kura wires:

– http://blog.amitinside.com/Industry-4-with-Kura/

– http://blog.amitinside.com/Kura-Wires-bits-and-pieces/

– https://dzone.com/articles/kura-wires-a-different-perspective-to-

develop-iiot

Page 33: Industrial IoT Mayhem? Java IoT Gateways to the Rescue

www.eurotech.com

Thank You!