stmicroelectronics smart home reference design - luca celetto
DESCRIPTION
OSGi Community Event 2013 (http://www.osgi.org/CommunityEvent2013/Schedule) ABSTRACT This talk will present a platform designed for application development to serve the new markets enabled by the Internet of Things, with a particular focus on Home Automation, Smart Energy, and e-health. It will provide the reasons why OSGi has been chosen and show how the platform works. The Internet of things is the next revolutionary wave following profound changes brought to us by Personal Computers (connecting places) and Mobile Phones (connecting people on the go). This third wave heralds the beginning of the new era of pervasive connectivity, embedded intelligence, and application convergence. It will be the world where smart things will communicate among themselves and with us, enabling a more efficient, and more comfortable environment. Designed to jumpstart application development, the STMicroelectronics Smart Home Platform is composed of a gateway in production-ready form factor and a set of sensor/actuator nodes, along with a Java Virtual Machine, ProSyst's OSGi framework and a working demonstration application fully supported by STMicroelectronics. The built-in OSGi stack provides Java-level abstraction of the network interfaces of the gateway and its nodes as well as cloud integration features such as a web server, web services and standards-based remote management. The OSGi framework is the key enabler of the product lifecycle and remote application management mandatory for service provider driven deployments. The JAVA/OSGi software abstraction layer provides zero-effort portability across the all STMicroelectronics' CPUs enabling the developers to select an SoC based on application and/or interface convergence requirements. Successful demonstrations of the same home automation software built on this platform have been already made on an entry-level gateway (based on ARM926) as well as a high-end multimedia gateway (Dual-Cortex A9 multimedia processor). SPEAKER BIO Luca Celetto is a Software Design Manager in STMicroelectronics, Italy, where he manages a team of R&D employees and consultants that provides innovative solutions for embedded software development on the company products. In the last two years of activity, he worked on OSGi solutions for the company cross-divisional project on Internet of Things that is the object of this presentation. The project aims at providing an ecosystem of reference hardware and software for gateways connecting the company hardware sensors and actuators.TRANSCRIPT
STMicroelectronics Smart Home Reference Design Turnkey platforms with compatible software to facilitate application development
Luca Celetto (STMicroelectronics)
ST: Where you find us 2
Our automotive products are making driving safer, greener and more entertaining
Our smart power products are making more of our energy resources
Our MEMS & Sensors are augmenting the consumer experience
Our Microcontrollers are everywhere making everything smarter and more secure
Our digital consumer products are powering the augmented digital lifestyle
Promoter member
ST is involved in Standardization 3
Alliance Member
Alliance BoD
Alliance BoD
Alliance BoD
Alliance CTO, BoD
HP GP Chair
P1901 Vice-chair
P1901.2 Vice-chair
Editor
Members, contributors
Project Contributor
PAP15 Contributor
DKE461 Contributor
Member
Alliance BoD
Full member
Sponsor Member, BoD
4 Smart Home Use-Cases Home Automation
Adaptive lighting Facilities automation Environment monitoring Adaptive energy usage Appliances control (heating,
Garden & plant management
Home Security Intrusion Alarm Home Monitoring Fire Alarm & Prevention Attendance Simulation Video Surveillance Entry Authorization
Family Care Child/Elder Monitoring Conferencing Health Data Monitoring Assisted Training/Exercise Digital Photo Frame Pet Feeder Education
Other Local Shopping and Delivers Infotainment Location Based Services Energy Services Electronic Vehicle Charging Home Network Services
Key Requirements for the software stack 5
Large Eco System
Can be applied to all use cases
Productive for application developers
Secure
Hardware Independence: SW portability & reuse across platforms
Ease to deploy and manage applications
Single Application Framework from Devices to Data Centers
Key Requirements for the software stack 6
Large Eco System
Can be applied to all use cases
Productive for application developers
Secure
Hardware Independence: SW portability & reuse across platforms
Ease to deploy and manage applications
Single Application Framework from Devices to Data Centers
7 Smart Home End2End Architecture
Consultable remotely by
phone, tablet
Gateway Local access
Remote Access
Backend System
Developer
Control Gateway
Pre-Integrated Smart Home Software
Smart Home Gateway Stack 8
Reference SW Pre-integration
JVM
OSGi
Device Mngt Layer
Network Configuration
Zigbee BT NFC
Zigbee Profile Abstraction
WEB Services
WEB Apps Customer Applications &
Services (optional)
Smart Home Manager
Multimedia Gateway
Ref Software stack Data/VOIP Gateway Ref Software stack
Multimedia content distribution,
Digital Video
Recorder,
Digital Right management,
Internet Routing,
Firewall,
VOIP,
DOCSIS,
Remote management
ZWave
Smart Home GW Platform
GatewayOne by Tatung
ARM 926EJ-S@333MHz
360 DMIPS; 200 when running HPAV Linux + SmartHome framework
802.11n 2x2 BT Smart Ready ZigBee PRO/IP; 6lowPAN 1x 802.15.4 radio 1 ETH; 1 USB HomePlug AV Optional Zwave dongle
9
Press release: http://www.st.com/web/en/press/p3478
Ecosystem 10
Smart Meter
AC Power Line HomePlug
HomePlug, WiFi, or Ethernet Residential
Router
I nter net Wi-Fi Other level or segment of the house
Gateway Plug Cloud Services
EV Charging HomePlug
Camera
Lighting Appliance
Sub GHz/ZigBee/Z-Wave/HomeMatic Devices
Wi-Fi Devices
IP Cam
Optional Bluetooth
Support Energy Management, Comfort & Convenience, Safety & Security, and Assisted Living applications
Hand-‐held devices & smart TV accessible
Smart Plug
Sensor Actuator
Strobe Alarm
ProSyst OSGi on STM platforms 11
Font: http://www.prosyst.com/what-we-do/smart-home-smart-energy/products/
More on the Abstraction Layer 12
Value for Java application developers 13
We provide HW&SW turnkey platform from leading suppliers, ready for
to field trials and volumes production in no time
You can focus on application development not low-
OSGi available IPs
The Value of the Smart Home will come from the creativity of Application Developers!
Body Gateway Device example 14
Heart rate detection Physical activity estimation Breathing rate measurement Body position/activity
Wearable device to measure physiological parameters (ECG, Hearth Rate, Breathing Rate, etc) to enable tele-monitoring solutions for chronic disease patients
Elderly people health monitoring Chronic cardiac disease monitoring Post surgery monitoring Event monitoring applications One-lead Holter applications
GUI
JAVAscript commands Graphical Interface
RPC extensions
Browser callable methods Allows exporting data to cloud
Service bundle
JAVA code implements functionality Interface HW/SW on platform
Application layer interaction 15
Remote Gateway Management
JSON-RPC/Websockets
Secure channel
CPE Cloud Serv
ice
POV
Dev
elop
er P
OV
JSON RPC bundle
GUI extensions
Service bundle
1
2
3
Body Gateway Device Integration JSON RPC
Implements the commands and response transactional interface between a connecting client and the SmartHomeGateway
Websockets Implements a streaming
Bluetooth Implements communication basing on the BT Serial Port Profile (SPP)
16
Bluetooth
JSON RPC
Websockets
BGD Service bundle overview 17
The BGD Service bundle enables the e-Health function delivered by the Smart Home Gateway.
Implements the classes and services necessary to: invoke the main BGD commands retrieve vital signs monitored by the BGD
Relies on: Bluecove support SQLite support Websocket
Exports JSON-RPC methods which allow a remote web access for the interaction with the BGD:
BGDService/command BGDService/reserveUpload
2
3
BGD JSON App bundle overview (1/2) The BGD JSON App bundle is a sample Web client which exploits the functions exported by the BGD Service and allows the user to remotely interact w/ the BGD.
18
1
BGD JSON App bundle overview (2/2) The BGD JSON App bundle registers a servlet with alias /bgd-app.
The user can perform the following operations on the remote BGD: Engage/ Switch off the BGD Set operative mode:
streaming (real time display of vital data) monitor
Load monitored vital data (offline display of vital data)
The operations are generated by means of JSON-RPC according to the methods exposed by the BGD Service.
Vital data monitored by the BGD are sent from the SHG to the BGD JSON App via websocket.
Vital data are plotted by means of flot jquery.
19
Conclusions ST complete hardware portfolio for Smart Home
Smart Home Gateways!!
ST software solution with ProSyst Smart Home OSGi OSGi benefits of modularity and easy software reuse ProSyst Abstraction Layer simplify access to devices STM integration of hardware devices in a complete solution
Programmers focus on applications and forget puzzling complications
Example based on the Healthcare Body Gateway Device Presentation of functionalities of Body Gateway Device Description of STM integration in the ProSyst OSGi sofware
A quick example of how programmers could contribute with innovative services
20
Q&A 21
Thank you!