SlideShare a Scribd company logo
Cassting Demonstrator
Mads Kronborg Kim G. Larsen Marco Muniz
Petur Olsen Thomas Pedersen Arne Skou Jiri Srba
Center for Embedded Software Systems
Aalborg University, Denmark
petur@cs.aau.dk
InfinIT, November 3, 2016
Introduction Demonstrator Raspberry Pi Conclusion
Introduction
Cassting demonstrator
Implementation on Raspberry Pi
2/21 petur@cs.aau.dk Cassting Demonstrator
Introduction Demonstrator Raspberry Pi Conclusion
Overview
European research project
System synthesis
Floor heating controller
Demonstrator
Real and simulated devices
3/21 petur@cs.aau.dk Cassting Demonstrator
Introduction Demonstrator Raspberry Pi Conclusion
4/21 petur@cs.aau.dk Cassting Demonstrator
Introduction Demonstrator Raspberry Pi Conclusion
5/21 petur@cs.aau.dk Cassting Demonstrator
Introduction Demonstrator Raspberry Pi Conclusion
Homeport
Middleware for heterogeneous home automation networks
Abstracts underlying physical devices
Adapters
RESTful interface
Real and simulated devices
6/21 petur@cs.aau.dk Cassting Demonstrator
Introduction Demonstrator Raspberry Pi Conclusion
Adapter1 Adapter2
... Adaptern
HomePort API
Discovery
Service
Event
Handler
Request
Handler
Data Model
Application1 Application2
... Applicationm
Logging
Service
Daemon
Service
Devices Devices Devices...
Clients Clients Clients...
7/21 petur@cs.aau.dk Cassting Demonstrator
Introduction Demonstrator Raspberry Pi Conclusion
Tool Chain Architecture
Uppaal-
Stratego
HomePort GUI
Seluxit adapters
temperature readings valve control
data strategy
weather
forecast
current data
temperature
set-point
8/21 petur@cs.aau.dk Cassting Demonstrator
Introduction Demonstrator Raspberry Pi Conclusion
Tool Chain Architecture
Uppaal-
Stratego
HomePort GUI
temperature readings valve control
d
dt Ti (t) = n
j=1 Ad
i,j (Tj (t) − Ti (t)) + Bi (Tenv(t) − Ti (t)) + Hv
j,i · vj
data strategy
weather
forecast
current data
temperature
set-point
8/21 petur@cs.aau.dk Cassting Demonstrator
Introduction Demonstrator Raspberry Pi Conclusion
Tool Chain Architecture
Uppaal-
Stratego
HomePort GUI
temperature readings valve control
d
dt Ti (t) = n
j=1 Ad
i,j (Tj (t) − Ti (t)) + Bi (Tenv(t) − Ti (t)) + Hv
j,i · vj
data strategy
weather
forecast
current data
temperature
set-point
8/21 petur@cs.aau.dk Cassting Demonstrator
Introduction Demonstrator Raspberry Pi Conclusion
HomePort Library
Rest
Webservice
Simulink
to
Seluxit
Seluxit
Adapter
House
GFX
(SDL2)
Simulink
ERT
Adapter
Forecast
Adapter
Controller
Simulink
Model
LCD ScreenUPPAAL
STRATEGO
Seluxit
Gateway
Setpoint Ctrl
Relay Box Valve1..n
9/21 petur@cs.aau.dk Cassting Demonstrator
Introduction Demonstrator Raspberry Pi Conclusion
HomePort Library
Rest
Webservice
Simulink
to
Seluxit
Seluxit
Adapter
House
GFX
(SDL2)
Simulink
ERT
Adapter
Forecast
Adapter
Controller
Simulink
Model
LCD ScreenUPPAAL
STRATEGO
Seluxit
Gateway
Setpoint Ctrl
Relay Box Valve1..n
10/21 petur@cs.aau.dk Cassting Demonstrator
Introduction Demonstrator Raspberry Pi Conclusion
11/21 petur@cs.aau.dk Cassting Demonstrator
Introduction Demonstrator Raspberry Pi Conclusion
Implementation on Raspberry Pi
Not Uppaal
Homeport with adapters
Matlab/Simulink Code Generation
GUI - C++/SDL2
12/21 petur@cs.aau.dk Cassting Demonstrator
Introduction Demonstrator Raspberry Pi Conclusion
Matlab/Simulink
Thermodynamics simulation
Four times per second
Homeport adapter
Sends new values to Homeport
Received values from Homeport
Code generation out-of-the-box
13/21 petur@cs.aau.dk Cassting Demonstrator
Introduction Demonstrator Raspberry Pi Conclusion
Graphical User Interface
Simple DirectMedia Layer
C++
OpenGL
Game development
Simple game loop - event, update, render
Dynamic rendering
14/21 petur@cs.aau.dk Cassting Demonstrator
Introduction Demonstrator Raspberry Pi Conclusion
15/21 petur@cs.aau.dk Cassting Demonstrator
Introduction Demonstrator Raspberry Pi Conclusion
16/21 petur@cs.aau.dk Cassting Demonstrator
Introduction Demonstrator Raspberry Pi Conclusion
17/21 petur@cs.aau.dk Cassting Demonstrator
Introduction Demonstrator Raspberry Pi Conclusion
Performance issues
Runs at about 2-3 FPS
CPU utilization about 40%
Vast majority of CPU time spent waiting for drawing
Grid tiles 96x54 = 5184
18/21 petur@cs.aau.dk Cassting Demonstrator
Introduction Demonstrator Raspberry Pi Conclusion
Possible solution
Pre-render background
Bake rooms
Did not help
19/21 petur@cs.aau.dk Cassting Demonstrator
Introduction Demonstrator Raspberry Pi Conclusion
Possible solution
Pre-render background
Bake rooms
Did not help
Full HD 1920x1080
Proves to much for the graphics chip
19/21 petur@cs.aau.dk Cassting Demonstrator
Introduction Demonstrator Raspberry Pi Conclusion
Possible solution
Pre-render background
Bake rooms
Did not help
Full HD 1920x1080
Proves to much for the graphics chip
No graphics upgrade in new Raspberry Pi
19/21 petur@cs.aau.dk Cassting Demonstrator
Introduction Demonstrator Raspberry Pi Conclusion
Conclusion
Excellent platform for the demonstrator
(Mostly) Easy to develop on
Prototyping with Matlab/Simulink
Very good performance, except
Lacking graphics performance
20/21 petur@cs.aau.dk Cassting Demonstrator
Introduction Demonstrator Raspberry Pi Conclusion
Questions?
21/21 petur@cs.aau.dk Cassting Demonstrator

More Related Content

What's hot

Ansible on AWS
Ansible on AWSAnsible on AWS
Ansible on AWS
Diego Pacheco
 
XREST Protocol
XREST ProtocolXREST Protocol
XREST Protocol
William Candillon
 
GNU Parallel
GNU ParallelGNU Parallel
GNU Parallel
Hoffman Lab
 
The Cost Of Free Linux
The Cost Of Free LinuxThe Cost Of Free Linux
The Cost Of Free Linux
Albert Mietus
 
Haskell Accelerate
Haskell  AccelerateHaskell  Accelerate
Haskell Accelerate
Steve Severance
 
Cheap HPC
Cheap HPCCheap HPC
Cheap HPC
Alex Moore
 
Applied Shell Scripting - stills to time-lapse
Applied Shell Scripting - stills to time-lapseApplied Shell Scripting - stills to time-lapse
Applied Shell Scripting - stills to time-lapse
Shoaib Sufi
 
Otto AI
Otto AIOtto AI
From zero to gremlin hero - Part I
From zero to gremlin hero - Part IFrom zero to gremlin hero - Part I
From zero to gremlin hero - Part I
GraphRM
 
Project 2
Project 2Project 2
Project 2
JoeBrannigan
 
An evaluation of piece picking algorithms for layered content in bittorrent-b...
An evaluation of piece picking algorithms for layered content in bittorrent-b...An evaluation of piece picking algorithms for layered content in bittorrent-b...
An evaluation of piece picking algorithms for layered content in bittorrent-b...
Alpen-Adria-Universität
 

What's hot (11)

Ansible on AWS
Ansible on AWSAnsible on AWS
Ansible on AWS
 
XREST Protocol
XREST ProtocolXREST Protocol
XREST Protocol
 
GNU Parallel
GNU ParallelGNU Parallel
GNU Parallel
 
The Cost Of Free Linux
The Cost Of Free LinuxThe Cost Of Free Linux
The Cost Of Free Linux
 
Haskell Accelerate
Haskell  AccelerateHaskell  Accelerate
Haskell Accelerate
 
Cheap HPC
Cheap HPCCheap HPC
Cheap HPC
 
Applied Shell Scripting - stills to time-lapse
Applied Shell Scripting - stills to time-lapseApplied Shell Scripting - stills to time-lapse
Applied Shell Scripting - stills to time-lapse
 
Otto AI
Otto AIOtto AI
Otto AI
 
From zero to gremlin hero - Part I
From zero to gremlin hero - Part IFrom zero to gremlin hero - Part I
From zero to gremlin hero - Part I
 
Project 2
Project 2Project 2
Project 2
 
An evaluation of piece picking algorithms for layered content in bittorrent-b...
An evaluation of piece picking algorithms for layered content in bittorrent-b...An evaluation of piece picking algorithms for layered content in bittorrent-b...
An evaluation of piece picking algorithms for layered content in bittorrent-b...
 

Viewers also liked

Værktøjer udviklet på AAU til analyse af SCJ programmer
Værktøjer udviklet på AAU til analyse af SCJ programmerVærktøjer udviklet på AAU til analyse af SCJ programmer
Værktøjer udviklet på AAU til analyse af SCJ programmer
InfinIT - Innovationsnetværket for it
 
Raspberry Pi? Men vi har jo iPads! Overvejelser omkring undervisning. RPI-ud...
Raspberry Pi? Men vi har jo iPads!  Overvejelser omkring undervisning. RPI-ud...Raspberry Pi? Men vi har jo iPads!  Overvejelser omkring undervisning. RPI-ud...
Raspberry Pi? Men vi har jo iPads! Overvejelser omkring undervisning. RPI-ud...
InfinIT - Innovationsnetværket for it
 
Raspberry Pi – Putting the fun back into computing
Raspberry Pi – Putting the fun back into computingRaspberry Pi – Putting the fun back into computing
Raspberry Pi – Putting the fun back into computing
InfinIT - Innovationsnetværket for it
 
Embedded Software Quality
Embedded Software QualityEmbedded Software Quality
Embedded Software Quality
InfinIT - Innovationsnetværket for it
 
Home Automation System
Home Automation SystemHome Automation System
Home Automation System
Ruwan Ranganath
 
GomSpace introduktion
GomSpace introduktionGomSpace introduktion
A history of (Nordic) compilers and autocodes
A history of (Nordic) compilers and autocodesA history of (Nordic) compilers and autocodes
A history of (Nordic) compilers and autocodes
InfinIT - Innovationsnetværket for it
 
Udviklingsplatform og programmeringssprog
Udviklingsplatform og programmeringssprogUdviklingsplatform og programmeringssprog
Udviklingsplatform og programmeringssprog
InfinIT - Innovationsnetværket for it
 
Tools and Methods for Continuously Expanding Software Applications
Tools and Methods for Continuously Expanding Software ApplicationsTools and Methods for Continuously Expanding Software Applications
Tools and Methods for Continuously Expanding Software Applications
InfinIT - Innovationsnetværket for it
 
Embedded Development for the Future - Platforms for Rohde-Schwarz Mobile Tester
Embedded Development for the Future - Platforms for Rohde-Schwarz Mobile TesterEmbedded Development for the Future - Platforms for Rohde-Schwarz Mobile Tester
Embedded Development for the Future - Platforms for Rohde-Schwarz Mobile Tester
InfinIT - Innovationsnetværket for it
 
Home Automation
Home AutomationHome Automation
Home Automation
Cássio Landim
 
Home automation & security system
Home automation & security systemHome automation & security system
Home automation & security system
Aniket Maithani
 

Viewers also liked (12)

Værktøjer udviklet på AAU til analyse af SCJ programmer
Værktøjer udviklet på AAU til analyse af SCJ programmerVærktøjer udviklet på AAU til analyse af SCJ programmer
Værktøjer udviklet på AAU til analyse af SCJ programmer
 
Raspberry Pi? Men vi har jo iPads! Overvejelser omkring undervisning. RPI-ud...
Raspberry Pi? Men vi har jo iPads!  Overvejelser omkring undervisning. RPI-ud...Raspberry Pi? Men vi har jo iPads!  Overvejelser omkring undervisning. RPI-ud...
Raspberry Pi? Men vi har jo iPads! Overvejelser omkring undervisning. RPI-ud...
 
Raspberry Pi – Putting the fun back into computing
Raspberry Pi – Putting the fun back into computingRaspberry Pi – Putting the fun back into computing
Raspberry Pi – Putting the fun back into computing
 
Embedded Software Quality
Embedded Software QualityEmbedded Software Quality
Embedded Software Quality
 
Home Automation System
Home Automation SystemHome Automation System
Home Automation System
 
GomSpace introduktion
GomSpace introduktionGomSpace introduktion
GomSpace introduktion
 
A history of (Nordic) compilers and autocodes
A history of (Nordic) compilers and autocodesA history of (Nordic) compilers and autocodes
A history of (Nordic) compilers and autocodes
 
Udviklingsplatform og programmeringssprog
Udviklingsplatform og programmeringssprogUdviklingsplatform og programmeringssprog
Udviklingsplatform og programmeringssprog
 
Tools and Methods for Continuously Expanding Software Applications
Tools and Methods for Continuously Expanding Software ApplicationsTools and Methods for Continuously Expanding Software Applications
Tools and Methods for Continuously Expanding Software Applications
 
Embedded Development for the Future - Platforms for Rohde-Schwarz Mobile Tester
Embedded Development for the Future - Platforms for Rohde-Schwarz Mobile TesterEmbedded Development for the Future - Platforms for Rohde-Schwarz Mobile Tester
Embedded Development for the Future - Platforms for Rohde-Schwarz Mobile Tester
 
Home Automation
Home AutomationHome Automation
Home Automation
 
Home automation & security system
Home automation & security systemHome automation & security system
Home automation & security system
 

Similar to The Casting Demonstrator. Using the Raspberry Pi for graphics and simulated floor heating

Slides - Day 10.pdf
Slides - Day 10.pdfSlides - Day 10.pdf
Slides - Day 10.pdf
ThakshilaMadushani4
 
Advanced View of Projects Raspberry Pi List - Raspberry PI Projects.pdf
Advanced View of Projects Raspberry Pi List - Raspberry PI Projects.pdfAdvanced View of Projects Raspberry Pi List - Raspberry PI Projects.pdf
Advanced View of Projects Raspberry Pi List - Raspberry PI Projects.pdf
WiseNaeem
 
Apresentação FLOSS
Apresentação FLOSSApresentação FLOSS
Apresentação FLOSS
Adriano Melo
 
Projects list raspberry pi projects-1230 - projects
Projects list   raspberry pi projects-1230 - projectsProjects list   raspberry pi projects-1230 - projects
Projects list raspberry pi projects-1230 - projects
Ashraf11111
 
Advanced View of Projects Raspberry Pi List - Raspberry PI Projects.pdf
Advanced View of Projects Raspberry Pi List - Raspberry PI Projects.pdfAdvanced View of Projects Raspberry Pi List - Raspberry PI Projects.pdf
Advanced View of Projects Raspberry Pi List - Raspberry PI Projects.pdf
WiseNaeem
 
Raspberry Pi
 Raspberry Pi  Raspberry Pi
Raspberry Pi
Aditya Khandate
 
Bridging the Pervasive Computing Gap: An Aggregate Perspective
Bridging the Pervasive Computing Gap: An Aggregate PerspectiveBridging the Pervasive Computing Gap: An Aggregate Perspective
Bridging the Pervasive Computing Gap: An Aggregate Perspective
Roberto Casadei
 
FINAL SEMINAR REPORT OF RASPBERRY PI
FINAL SEMINAR REPORT OF RASPBERRY PIFINAL SEMINAR REPORT OF RASPBERRY PI
FINAL SEMINAR REPORT OF RASPBERRY PI
GANESH GOVIND BHOR
 
SEMINAR REPORT OF RASPBERRY PI
SEMINAR REPORT OF RASPBERRY PI SEMINAR REPORT OF RASPBERRY PI
SEMINAR REPORT OF RASPBERRY PI
GANESH GOVIND BHOR
 
Deploying a Task-based Runtime System on Raspberry Pi Clusters
Deploying a Task-based Runtime System on Raspberry Pi ClustersDeploying a Task-based Runtime System on Raspberry Pi Clusters
Deploying a Task-based Runtime System on Raspberry Pi Clusters
Patrick Diehl
 
Socket programming
Socket programmingSocket programming
Socket programming
NemiRathore
 
Projects list 1271 raspberry pi projects
Projects list  1271 raspberry pi projectsProjects list  1271 raspberry pi projects
Projects list 1271 raspberry pi projects
Ashraf11111
 
Implementation of a SaaS based simulation platform using open standards and o...
Implementation of a SaaS based simulation platform using open standards and o...Implementation of a SaaS based simulation platform using open standards and o...
Implementation of a SaaS based simulation platform using open standards and o...
Thomas Paviot
 
Lab Handson: Power your Creations with Intel Edison!
Lab Handson: Power your Creations with Intel Edison!Lab Handson: Power your Creations with Intel Edison!
Lab Handson: Power your Creations with Intel Edison!
Codemotion
 
CS 354 Introduction
CS 354 IntroductionCS 354 Introduction
CS 354 Introduction
Mark Kilgard
 
Flash and Hardware
Flash and HardwareFlash and Hardware
Flash and Hardware
Kevin Hoyt
 
pythonOCC PDE2009 presentation
pythonOCC PDE2009 presentationpythonOCC PDE2009 presentation
pythonOCC PDE2009 presentation
Thomas Paviot
 
report
reportreport
Linux and Open Source in Math, Science and Engineering
Linux and Open Source in Math, Science and EngineeringLinux and Open Source in Math, Science and Engineering
Linux and Open Source in Math, Science and Engineering
PDE1D
 
1st RINASim Webinar
1st RINASim Webinar1st RINASim Webinar
1st RINASim Webinar
Vladimír Veselý
 

Similar to The Casting Demonstrator. Using the Raspberry Pi for graphics and simulated floor heating (20)

Slides - Day 10.pdf
Slides - Day 10.pdfSlides - Day 10.pdf
Slides - Day 10.pdf
 
Advanced View of Projects Raspberry Pi List - Raspberry PI Projects.pdf
Advanced View of Projects Raspberry Pi List - Raspberry PI Projects.pdfAdvanced View of Projects Raspberry Pi List - Raspberry PI Projects.pdf
Advanced View of Projects Raspberry Pi List - Raspberry PI Projects.pdf
 
Apresentação FLOSS
Apresentação FLOSSApresentação FLOSS
Apresentação FLOSS
 
Projects list raspberry pi projects-1230 - projects
Projects list   raspberry pi projects-1230 - projectsProjects list   raspberry pi projects-1230 - projects
Projects list raspberry pi projects-1230 - projects
 
Advanced View of Projects Raspberry Pi List - Raspberry PI Projects.pdf
Advanced View of Projects Raspberry Pi List - Raspberry PI Projects.pdfAdvanced View of Projects Raspberry Pi List - Raspberry PI Projects.pdf
Advanced View of Projects Raspberry Pi List - Raspberry PI Projects.pdf
 
Raspberry Pi
 Raspberry Pi  Raspberry Pi
Raspberry Pi
 
Bridging the Pervasive Computing Gap: An Aggregate Perspective
Bridging the Pervasive Computing Gap: An Aggregate PerspectiveBridging the Pervasive Computing Gap: An Aggregate Perspective
Bridging the Pervasive Computing Gap: An Aggregate Perspective
 
FINAL SEMINAR REPORT OF RASPBERRY PI
FINAL SEMINAR REPORT OF RASPBERRY PIFINAL SEMINAR REPORT OF RASPBERRY PI
FINAL SEMINAR REPORT OF RASPBERRY PI
 
SEMINAR REPORT OF RASPBERRY PI
SEMINAR REPORT OF RASPBERRY PI SEMINAR REPORT OF RASPBERRY PI
SEMINAR REPORT OF RASPBERRY PI
 
Deploying a Task-based Runtime System on Raspberry Pi Clusters
Deploying a Task-based Runtime System on Raspberry Pi ClustersDeploying a Task-based Runtime System on Raspberry Pi Clusters
Deploying a Task-based Runtime System on Raspberry Pi Clusters
 
Socket programming
Socket programmingSocket programming
Socket programming
 
Projects list 1271 raspberry pi projects
Projects list  1271 raspberry pi projectsProjects list  1271 raspberry pi projects
Projects list 1271 raspberry pi projects
 
Implementation of a SaaS based simulation platform using open standards and o...
Implementation of a SaaS based simulation platform using open standards and o...Implementation of a SaaS based simulation platform using open standards and o...
Implementation of a SaaS based simulation platform using open standards and o...
 
Lab Handson: Power your Creations with Intel Edison!
Lab Handson: Power your Creations with Intel Edison!Lab Handson: Power your Creations with Intel Edison!
Lab Handson: Power your Creations with Intel Edison!
 
CS 354 Introduction
CS 354 IntroductionCS 354 Introduction
CS 354 Introduction
 
Flash and Hardware
Flash and HardwareFlash and Hardware
Flash and Hardware
 
pythonOCC PDE2009 presentation
pythonOCC PDE2009 presentationpythonOCC PDE2009 presentation
pythonOCC PDE2009 presentation
 
report
reportreport
report
 
Linux and Open Source in Math, Science and Engineering
Linux and Open Source in Math, Science and EngineeringLinux and Open Source in Math, Science and Engineering
Linux and Open Source in Math, Science and Engineering
 
1st RINASim Webinar
1st RINASim Webinar1st RINASim Webinar
1st RINASim Webinar
 

More from InfinIT - Innovationsnetværket for it

Erfaringer med-c kurt-noermark
Erfaringer med-c kurt-noermarkErfaringer med-c kurt-noermark
Erfaringer med-c kurt-noermark
InfinIT - Innovationsnetværket for it
 
Object orientering, test driven development og c
Object orientering, test driven development og cObject orientering, test driven development og c
Object orientering, test driven development og c
InfinIT - Innovationsnetværket for it
 
Embedded softwaredevelopment hcs
Embedded softwaredevelopment hcsEmbedded softwaredevelopment hcs
Embedded softwaredevelopment hcs
InfinIT - Innovationsnetværket for it
 
C og c++-jens lund jensen
C og c++-jens lund jensenC og c++-jens lund jensen
C og c++-jens lund jensen
InfinIT - Innovationsnetværket for it
 
201811xx foredrag c_cpp
201811xx foredrag c_cpp201811xx foredrag c_cpp
C som-programmeringssprog-bt
C som-programmeringssprog-btC som-programmeringssprog-bt
C som-programmeringssprog-bt
InfinIT - Innovationsnetværket for it
 
Infinit seminar 060918
Infinit seminar 060918Infinit seminar 060918
DCR solutions
DCR solutionsDCR solutions
Not your grandfathers BPM
Not your grandfathers BPMNot your grandfathers BPM
Not your grandfathers BPM
InfinIT - Innovationsnetværket for it
 
Kmd workzone - an evolutionary approach to revolution
Kmd workzone - an evolutionary approach to revolutionKmd workzone - an evolutionary approach to revolution
Kmd workzone - an evolutionary approach to revolution
InfinIT - Innovationsnetværket for it
 
EcoKnow - oplæg
EcoKnow - oplægEcoKnow - oplæg
Martin Wickins Chatbots i fronten
Martin Wickins Chatbots i frontenMartin Wickins Chatbots i fronten
Martin Wickins Chatbots i fronten
InfinIT - Innovationsnetværket for it
 
Marie Fenger ai kundeservice
Marie Fenger ai kundeserviceMarie Fenger ai kundeservice
Marie Fenger ai kundeservice
InfinIT - Innovationsnetværket for it
 
Mads Kaysen SupWiz
Mads Kaysen SupWizMads Kaysen SupWiz
Leif Howalt NNIT Service Support Center
Leif Howalt NNIT Service Support CenterLeif Howalt NNIT Service Support Center
Leif Howalt NNIT Service Support Center
InfinIT - Innovationsnetværket for it
 
Jan Neerbek NLP og Chatbots
Jan Neerbek NLP og ChatbotsJan Neerbek NLP og Chatbots
Jan Neerbek NLP og Chatbots
InfinIT - Innovationsnetværket for it
 
Anders Soegaard NLP for Customer Support
Anders Soegaard NLP for Customer SupportAnders Soegaard NLP for Customer Support
Anders Soegaard NLP for Customer Support
InfinIT - Innovationsnetværket for it
 
Stephen Alstrup infinit august 2018
Stephen Alstrup infinit august 2018Stephen Alstrup infinit august 2018
Stephen Alstrup infinit august 2018
InfinIT - Innovationsnetværket for it
 
Innovation og værdiskabelse i it-projekter
Innovation og værdiskabelse i it-projekterInnovation og værdiskabelse i it-projekter
Innovation og værdiskabelse i it-projekter
InfinIT - Innovationsnetværket for it
 
Rokoko infin it presentation
Rokoko infin it presentation Rokoko infin it presentation
Rokoko infin it presentation
InfinIT - Innovationsnetværket for it
 

More from InfinIT - Innovationsnetværket for it (20)

Erfaringer med-c kurt-noermark
Erfaringer med-c kurt-noermarkErfaringer med-c kurt-noermark
Erfaringer med-c kurt-noermark
 
Object orientering, test driven development og c
Object orientering, test driven development og cObject orientering, test driven development og c
Object orientering, test driven development og c
 
Embedded softwaredevelopment hcs
Embedded softwaredevelopment hcsEmbedded softwaredevelopment hcs
Embedded softwaredevelopment hcs
 
C og c++-jens lund jensen
C og c++-jens lund jensenC og c++-jens lund jensen
C og c++-jens lund jensen
 
201811xx foredrag c_cpp
201811xx foredrag c_cpp201811xx foredrag c_cpp
201811xx foredrag c_cpp
 
C som-programmeringssprog-bt
C som-programmeringssprog-btC som-programmeringssprog-bt
C som-programmeringssprog-bt
 
Infinit seminar 060918
Infinit seminar 060918Infinit seminar 060918
Infinit seminar 060918
 
DCR solutions
DCR solutionsDCR solutions
DCR solutions
 
Not your grandfathers BPM
Not your grandfathers BPMNot your grandfathers BPM
Not your grandfathers BPM
 
Kmd workzone - an evolutionary approach to revolution
Kmd workzone - an evolutionary approach to revolutionKmd workzone - an evolutionary approach to revolution
Kmd workzone - an evolutionary approach to revolution
 
EcoKnow - oplæg
EcoKnow - oplægEcoKnow - oplæg
EcoKnow - oplæg
 
Martin Wickins Chatbots i fronten
Martin Wickins Chatbots i frontenMartin Wickins Chatbots i fronten
Martin Wickins Chatbots i fronten
 
Marie Fenger ai kundeservice
Marie Fenger ai kundeserviceMarie Fenger ai kundeservice
Marie Fenger ai kundeservice
 
Mads Kaysen SupWiz
Mads Kaysen SupWizMads Kaysen SupWiz
Mads Kaysen SupWiz
 
Leif Howalt NNIT Service Support Center
Leif Howalt NNIT Service Support CenterLeif Howalt NNIT Service Support Center
Leif Howalt NNIT Service Support Center
 
Jan Neerbek NLP og Chatbots
Jan Neerbek NLP og ChatbotsJan Neerbek NLP og Chatbots
Jan Neerbek NLP og Chatbots
 
Anders Soegaard NLP for Customer Support
Anders Soegaard NLP for Customer SupportAnders Soegaard NLP for Customer Support
Anders Soegaard NLP for Customer Support
 
Stephen Alstrup infinit august 2018
Stephen Alstrup infinit august 2018Stephen Alstrup infinit august 2018
Stephen Alstrup infinit august 2018
 
Innovation og værdiskabelse i it-projekter
Innovation og værdiskabelse i it-projekterInnovation og værdiskabelse i it-projekter
Innovation og værdiskabelse i it-projekter
 
Rokoko infin it presentation
Rokoko infin it presentation Rokoko infin it presentation
Rokoko infin it presentation
 

Recently uploaded

How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
Jakub Marek
 
Mutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented ChatbotsMutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented Chatbots
Pablo Gómez Abajo
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
Brandon Minnick, MBA
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
operationspcvita
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
saastr
 
What is an RPA CoE? Session 1 – CoE Vision
What is an RPA CoE?  Session 1 – CoE VisionWhat is an RPA CoE?  Session 1 – CoE Vision
What is an RPA CoE? Session 1 – CoE Vision
DianaGray10
 
AppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSFAppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSF
Ajin Abraham
 
Essentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation ParametersEssentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation Parameters
Safe Software
 
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their MainframeDigital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Precisely
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
Javier Junquera
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
Jason Packer
 
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
Fwdays
 
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
Jason Yip
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-EfficiencyFreshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
ScyllaDB
 
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving
 

Recently uploaded (20)

How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
 
Mutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented ChatbotsMutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented Chatbots
 
Choosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptxChoosing The Best AWS Service For Your Website + API.pptx
Choosing The Best AWS Service For Your Website + API.pptx
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
The Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptxThe Microsoft 365 Migration Tutorial For Beginner.pptx
The Microsoft 365 Migration Tutorial For Beginner.pptx
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
 
What is an RPA CoE? Session 1 – CoE Vision
What is an RPA CoE?  Session 1 – CoE VisionWhat is an RPA CoE?  Session 1 – CoE Vision
What is an RPA CoE? Session 1 – CoE Vision
 
AppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSFAppSec PNW: Android and iOS Application Security with MobSF
AppSec PNW: Android and iOS Application Security with MobSF
 
Essentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation ParametersEssentials of Automations: Exploring Attributes & Automation Parameters
Essentials of Automations: Exploring Attributes & Automation Parameters
 
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their MainframeDigital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
 
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
 
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-EfficiencyFreshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
Freshworks Rethinks NoSQL for Rapid Scaling & Cost-Efficiency
 
Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024Northern Engraving | Nameplate Manufacturing Process - 2024
Northern Engraving | Nameplate Manufacturing Process - 2024
 

The Casting Demonstrator. Using the Raspberry Pi for graphics and simulated floor heating

  • 1. Cassting Demonstrator Mads Kronborg Kim G. Larsen Marco Muniz Petur Olsen Thomas Pedersen Arne Skou Jiri Srba Center for Embedded Software Systems Aalborg University, Denmark petur@cs.aau.dk InfinIT, November 3, 2016
  • 2. Introduction Demonstrator Raspberry Pi Conclusion Introduction Cassting demonstrator Implementation on Raspberry Pi 2/21 petur@cs.aau.dk Cassting Demonstrator
  • 3. Introduction Demonstrator Raspberry Pi Conclusion Overview European research project System synthesis Floor heating controller Demonstrator Real and simulated devices 3/21 petur@cs.aau.dk Cassting Demonstrator
  • 4. Introduction Demonstrator Raspberry Pi Conclusion 4/21 petur@cs.aau.dk Cassting Demonstrator
  • 5. Introduction Demonstrator Raspberry Pi Conclusion 5/21 petur@cs.aau.dk Cassting Demonstrator
  • 6. Introduction Demonstrator Raspberry Pi Conclusion Homeport Middleware for heterogeneous home automation networks Abstracts underlying physical devices Adapters RESTful interface Real and simulated devices 6/21 petur@cs.aau.dk Cassting Demonstrator
  • 7. Introduction Demonstrator Raspberry Pi Conclusion Adapter1 Adapter2 ... Adaptern HomePort API Discovery Service Event Handler Request Handler Data Model Application1 Application2 ... Applicationm Logging Service Daemon Service Devices Devices Devices... Clients Clients Clients... 7/21 petur@cs.aau.dk Cassting Demonstrator
  • 8. Introduction Demonstrator Raspberry Pi Conclusion Tool Chain Architecture Uppaal- Stratego HomePort GUI Seluxit adapters temperature readings valve control data strategy weather forecast current data temperature set-point 8/21 petur@cs.aau.dk Cassting Demonstrator
  • 9. Introduction Demonstrator Raspberry Pi Conclusion Tool Chain Architecture Uppaal- Stratego HomePort GUI temperature readings valve control d dt Ti (t) = n j=1 Ad i,j (Tj (t) − Ti (t)) + Bi (Tenv(t) − Ti (t)) + Hv j,i · vj data strategy weather forecast current data temperature set-point 8/21 petur@cs.aau.dk Cassting Demonstrator
  • 10. Introduction Demonstrator Raspberry Pi Conclusion Tool Chain Architecture Uppaal- Stratego HomePort GUI temperature readings valve control d dt Ti (t) = n j=1 Ad i,j (Tj (t) − Ti (t)) + Bi (Tenv(t) − Ti (t)) + Hv j,i · vj data strategy weather forecast current data temperature set-point 8/21 petur@cs.aau.dk Cassting Demonstrator
  • 11. Introduction Demonstrator Raspberry Pi Conclusion HomePort Library Rest Webservice Simulink to Seluxit Seluxit Adapter House GFX (SDL2) Simulink ERT Adapter Forecast Adapter Controller Simulink Model LCD ScreenUPPAAL STRATEGO Seluxit Gateway Setpoint Ctrl Relay Box Valve1..n 9/21 petur@cs.aau.dk Cassting Demonstrator
  • 12. Introduction Demonstrator Raspberry Pi Conclusion HomePort Library Rest Webservice Simulink to Seluxit Seluxit Adapter House GFX (SDL2) Simulink ERT Adapter Forecast Adapter Controller Simulink Model LCD ScreenUPPAAL STRATEGO Seluxit Gateway Setpoint Ctrl Relay Box Valve1..n 10/21 petur@cs.aau.dk Cassting Demonstrator
  • 13. Introduction Demonstrator Raspberry Pi Conclusion 11/21 petur@cs.aau.dk Cassting Demonstrator
  • 14. Introduction Demonstrator Raspberry Pi Conclusion Implementation on Raspberry Pi Not Uppaal Homeport with adapters Matlab/Simulink Code Generation GUI - C++/SDL2 12/21 petur@cs.aau.dk Cassting Demonstrator
  • 15. Introduction Demonstrator Raspberry Pi Conclusion Matlab/Simulink Thermodynamics simulation Four times per second Homeport adapter Sends new values to Homeport Received values from Homeport Code generation out-of-the-box 13/21 petur@cs.aau.dk Cassting Demonstrator
  • 16. Introduction Demonstrator Raspberry Pi Conclusion Graphical User Interface Simple DirectMedia Layer C++ OpenGL Game development Simple game loop - event, update, render Dynamic rendering 14/21 petur@cs.aau.dk Cassting Demonstrator
  • 17. Introduction Demonstrator Raspberry Pi Conclusion 15/21 petur@cs.aau.dk Cassting Demonstrator
  • 18. Introduction Demonstrator Raspberry Pi Conclusion 16/21 petur@cs.aau.dk Cassting Demonstrator
  • 19. Introduction Demonstrator Raspberry Pi Conclusion 17/21 petur@cs.aau.dk Cassting Demonstrator
  • 20. Introduction Demonstrator Raspberry Pi Conclusion Performance issues Runs at about 2-3 FPS CPU utilization about 40% Vast majority of CPU time spent waiting for drawing Grid tiles 96x54 = 5184 18/21 petur@cs.aau.dk Cassting Demonstrator
  • 21. Introduction Demonstrator Raspberry Pi Conclusion Possible solution Pre-render background Bake rooms Did not help 19/21 petur@cs.aau.dk Cassting Demonstrator
  • 22. Introduction Demonstrator Raspberry Pi Conclusion Possible solution Pre-render background Bake rooms Did not help Full HD 1920x1080 Proves to much for the graphics chip 19/21 petur@cs.aau.dk Cassting Demonstrator
  • 23. Introduction Demonstrator Raspberry Pi Conclusion Possible solution Pre-render background Bake rooms Did not help Full HD 1920x1080 Proves to much for the graphics chip No graphics upgrade in new Raspberry Pi 19/21 petur@cs.aau.dk Cassting Demonstrator
  • 24. Introduction Demonstrator Raspberry Pi Conclusion Conclusion Excellent platform for the demonstrator (Mostly) Easy to develop on Prototyping with Matlab/Simulink Very good performance, except Lacking graphics performance 20/21 petur@cs.aau.dk Cassting Demonstrator
  • 25. Introduction Demonstrator Raspberry Pi Conclusion Questions? 21/21 petur@cs.aau.dk Cassting Demonstrator