Bringing Legacy Devices Online
-
Upload
jan-rodig -
Category
Technology
-
view
240 -
download
0
Transcript of Bringing Legacy Devices Online
© tr
esm
o G
mbH
Bringing Legacy Devices Online
“As a manufacturer, I want to connect my legacy devices to the internet so that I can offer new services and enable my customers to control their devices remotely.”
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Gateway Service Port Connection
Option C
Service port
© tr
esm
o G
mbH
Bringing Legacy Devices Online
IoT Gateways
Gateways can make a legacy device IoT capable:
- talks device specific protocols on one side
- talks IoT protocols on the other side
- one or more devices can be connected to a gateway (wireless or wired)
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Gateway Usage Example
Cloud
Gateway
Device
Example: Connecting a Heating Appliance to the Cloud
App
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Gateway - Typical Functionality
Cloud
Gateway
Device
App
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Gateway - Typical Functionality
Cloud
Gateway
Device
App
firmware updates
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Gateway - Typical Functionality
Cloud
Gateway
Device
App
firmware updates
connecting
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Gateway - Typical Functionality
Cloud
Gateway
Device
App
firmware updates
read / write
connecting
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Gateway - Typical Functionality
Cloud
Gateway
Device
App
firmware updates
read / writesend / receive
connecting
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Gateway - Typical Functionality
Cloud
Gateway
Device
App
firmware updates
data preprocessing
read / write
connecting
send / receive
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Gateway - Typical Functionality
Cloud
Gateway
Device
App
firmware updates
data preprocessing
local buffering
read / write
connecting
send / receive
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Gateway - Typical Functionality
Cloud
Gateway
Device
App
firmware updates
data preprocessing
local buffering
read / write
connecting
send / receive trigger rules
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Gateway - Typical Functionality
Cloud
Gateway
Device
App
firmware updates
data preprocessing
local buffering
read / write
connecting
send / receive trigger rules
local applications
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Gateway - Typical Functionality
Cloud
Gateway
Device
App
firmware updates
data preprocessing
local buffering
read / write
connecting
send / receive trigger rules
local applications
local connection endpoint
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Gateway - Typical Functionality
Cloud
Gateway
Device
App
firmware updates
data preprocessing
local buffering
read / write
connecting
send / receive trigger rules
local applications
device id
local connection endpoint
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Device Identification
At the time the gateway is produced, you usually do not know what device is going to be connected to it.
There must be a device identification mechanism to detect which device (with which firmware version) is connected.
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Device Identification
“Who are you?”
“I am a heating appliance of type XYZ with firmware version 1.2.3 “
Device
Gateway
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Datapoint Definitions
The gateway itself has no knowledge about what “datapoints” to read from the device
The IoT cloud has to tell the gateway which datapoints to read.
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Datapoint Definitions
“Who are you?”
“I am a heating appliance of type XYZ with firmware version 1.2.3 “
Device
Gateway
Cloud
I have a heating appliance XYZ with firmware 1.2.3. Please tell me what datapoints to read.
List with datapoint definitions for the device.
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Datapoint Definitions
Example:
- address 0x1234- datatype byte- length 1- scaling factor 1- unit celsius- min 10- max 35- stepping 1- description temperature setting- ...
datapoint definitions for all devices
Datapoint DefinitionDatabase
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Datapoint Value Propagation
Cloud
Gateway
DeviceApp
gateway reads from address 0x1234
1
2cloud forwards datapoint address value to app:0x1234 = 00011000
24°3
app shows temperature
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Datapoint Value Propagation
Cloud
Gateway
Device A
App
cloud forwards datapoint values to app:0x1234 = = 00011000
Device B
address 0x1234 24°
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Datapoint Value Propagation
Cloud
Gateway
Device A
App
cloud forwards datapoint values to app:Device A: 0x1234 = = 00011000Device B: 0x5678 = 1011110000
Device B
address 0x1234
address 0x5678
Problem: different devices store values under different addresses.
How does the app know what those addresses mean?
24°
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Datapoint Mapping
Device A
Device B
address 0x1234
address 0x5678
Semantic Metamodel
/heating/temperature = 24 ° App
24°
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Datapoint Mapping
1
Semantic Metamodel
Define a semantic metamodel across your
devices
2
Mapping Rules
Define mapping rules to convert:
- raw device datapoint values to metamodel
values
- metamodel values to raw device datapoint
values
3
Conversion Engine
Use a conversion engine to perform
conversions between datapoint values and
metamodel based on a given set of mapping
rules
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Datapoint Value Propagation
Cloud
Gateway
Device A
App
cloud forwards datapoint values to app:Device A: /heating/temperature = 24°Device B: /heating/temperature = 24°
Device B
address 0x1234
address 0x5678
DatapointStandardization
24°
© tr
esm
o G
mbH
Bringing Legacy Devices Online
Summary
Internal or external gateways can be used to connect legacy devices to the Internet.
A device identification mechanism has to be in place, when different devices are to be connected.
Datapoint definitions can be loaded from the cloud on demand.
Metamodel mapping is important if datapoints differ from device to device.
1
2
3
4
© tr
esm
o G
mbH
Bringing Legacy Devices Online
We are a 360° digital agency with passion for the IoT
Digital Transformation Consulting
Software Development
Digital Analytics /Big Data
© tr
esm
o G
mbH
Bringing Legacy Devices Online
How can we help you with your IoT project?
Bernd Behler
Bernd Behler
[email protected] Tech Expo booth #14
www.tresmo.de
#tresmo360