connecting services in iot design · 2016-04-05 · a lot of opportunitiesbut there still are...
TRANSCRIPT
Conference
Lake Garda, 7-8 April 2016
CONNECTING SERVICES IN IOT DESIGN
RELOC s.r.l.
Evolution of the Internet in which everyday physical objects are seamlessly integrated
into the information network, and data coming from things is mixed with information
generated by people, processes and systems in order to build enhanced cooperative
services and applications: it’s about adding value and solving problems.
Internet-of-Things
COMMUNICATE
ANALYZE
ACT
COLLECT
2 3
1
Things withembedded sensors and communication
Local and widearea networks
Collect, mix,and process data
28B
Connected devices
Internet-of-Things
Source: Harbor Research, Cisco, BOSH
14B50B
2020
2015
5÷10B
Business impact
Internet-of-Things
Source: Postscapes, Harbor Research > $1 Trillion
180+ $ Billion
Source: CISCO
“Gartner predicts that the total economic value add for the Internet of Things will be $1.9 trillion dollars in 2020, benefiting a wide range of industries, such as, healthcare, retail, and transportation.”
Examples
Internet-of-Things
Source: Vala Afshar, «40 IoT Solutions», 2014
A lot of opportunities but there still are problems and challenges.
A few examples:
VISION @product design
IoT is “about adding values and solving problems” while “in 2015 [IoT] progress was documented by the number of devices that were connected online […]. This is like measuring a hospital by the number of patients rather than how effective it is at curing people.”
► Focus on the analysis phase (problem identification, solution analysis, user experience, ..) and product differentiation
► Efficient implementation based on design reuse platform-based design
Internet-of-Things
COMPLEXITY @system-level / embedded
Internet-of-Things applications include critical design parts, e.g.
• communication (numerous protocols both at transport and application layer),
• cloud-service (multitude of solutions available)
calling for specific design competences.
► Pre-verified ready-to-use platform components (reduce risk, accelerate design, simplify update and protocol migration)
SECURITY & PRIVACY @system-level / embedded
Potential security vulnerabilities involving encryption, permissions, password security.
Products vulnerabilities stress unlawful surveillance / privacy issues.
► Device with encryption capabilities for secure end-to-end communications;
► Robust secured remote update procedures to potentially fix security issues.
Internet-of-Things
Networking
SmartObjects
CloudServices User Interface
System Architecture
Embedded Connectivity
• Embedded connectivity requires significant HW / FW modifications vs
– Accelerate development: move firmware development at the API level
– Simplify update: abstract connectivity solution
• Challenges of interaction with cloud services
– Multiple device-to-cloud protocols
– Multiple semantics and APIs
– Different device management (e.g. provisioning)
– Test and field monitoring challenges
• Requires industry proven solution for fast adoption
– Internet-of-Things ready-to-use starter-kits
– comprehensive application examples
– pre-verified device-to-cloud system components
Cloud Services and Applications
CoAP
IoT Board – Architecture and Schematics
S7 Cortex-M4
(176 pins)
Ethernet
USB Host
USB Device
On-Board JTAG
Switches
LEDs
Acc. 3DOF
Gyro 3DOF
T / H
On-Board Flash
On-Board RAM
Sensors
I2C**SPI*GPIOs
TFT Controller
Wi-Fi
BLE
NFC
SPI*
UART
I2C**
USB
USB
ETH
BUS Display + Touch**
Wireless
Wired
IoT Board
Reduce design errors via Configurator tools
1
Board BSP @GalleryAccelerate development
2
SENSOR MONITORING
• Physical bus sharing with dynamic reconfiguration
• Developed on S3, seamlessly ported on S7
IoT Board – Firmware Components
3
SENSOR MONITORING...
gyro.p_api->open( gyro.p_ctrl, gyro.p_cfg );
acc.p_api->open( acc.p_ctrl, acc.p_cfg );
th.p_api->open( th.p_ctrl, th.p_cfg );
while (run)
{
gyro.p_api->readAngularRates( gyro.p_ctrl,
&gyro_rates );
acc.p_api->readAccelerations( acc.p_ctrl,
&acc_rates );
th.p_api->readTemperature( th.p_ctrl,
&temperature );
th.p_api->readHumidity( th.p_ctrl,
&humidity );
...
}
gyro.p_api->close( gyro.p_ctrl );
acc.p_api->close( acc.p_ctrl );
th.p_api->close( th.p_ctrl );
...
IoT Board – Firmware Components
Similar APIs for different sensors.
Accelerate: save 1 / 2 wks per sensor (development & test).
• Innovate
- sensor fusion w/ same API
- multi-device adaptive sensing
(see smartphone)
4
5
• Simple NVM memory interface
• NDEF API !
R/W web url, e-mail, text, ..
IoT Board – Firmware Components
NFC CONNECTIVITY
Syn
erg
yH
W P
LT
Syn
erg
yS
W P
LT
NFC Device Driver
High-Level Application
So
ftw
are
A
dd-o
ns
SW I2C BUS
I2C HW Module
I2C HAL Driver
I2C NFC Fmwk
I2C bus
NFC –to –I2C tag
NFC Framework
TLV NDEF Parser
ProprietaryParser
• Accelerate
interact with a smartphone via NFC in a few hours.
Save 1 man/month of development and test for flexible NDEF interface
6
WI-FI CONNECTIVITY
IoT Board – Firmware Components
«Standard» product App
App-to-Cloud I/F
Framework SPI Framework
Drivers
Wi-Fi Driver
Cloud protocol
Cloud APIs
Cloud devicemanagement
SPI Driver
NetX API interface
• Device provisioning• Send data to the cloud• Receve events and commands
Wi-Fi Manager
REST / MQTT / CoAP / ..
Cloud-specific management
• Accelerate
Save several man/month of development and test for networking
7
• Flexibility
Selection of Wi-Fi controller
8
• Sensor-to-Cloud
– 3DOF accelerometer
– 2DOC gyroscope
– Temperature
– Humidity
• Cloud-to-Actuator
– Control of RGB lamp
• RESTful interface to SENSHUB platform
IoT Board – Sensors–to–Cloud Application
BUILDING A CONNECTED WORLD. TODAY.