Upload
daniel-stein
View
796
Download
0
Embed Size (px)
Citation preview
Budapesti Műszaki és Gazdaságtudományi EgyetemMéréstechnika és Információs Rendszerek Tanszék
Cloud-deployedModel Railway Control System
Benedek Horváth, Dániel Stein
Supervisor: András Vörös
Overview
2
CONTROLLER PROXY
Railway Architecture
3
Master Master
SOC
State Machine [1st Section]
State Machine[2nd Section]
State Machine [3rd Section]
State Machine [Turnout]
State Machine [1st Section]
State Machine[2nd Section]
State Machine [3rd Section]
State Machine [Turnout]
Railway Communication
4
Model Railway Track Network
KVControl TCP
0x81YakinduCodes - NormalTurnout
KVC-RSKVC-BPE-RS
0x82YakinduCodes - NormalTurnout
KVC-RSKVC-BPE-RS
0x83YakinduCodes - NormalTurnout
KVC-RSKVC-BPE-RS
0x84YakinduCodes - NormalTurnout
KVC-RSKVC-BPE-RS
0x85YakinduCodes - NormalTurnout
KVC-RSKVC-BPE-RS
0x86-0x87YakinduCodes - EnglishTurnout
KVC-RSKVC-BPE-RS
HTTPKVControl-BPExtension HTTP
Cloud Local machine
Node-RED Introduction
„A visual tool for wiring the Internet of Things”
5
Communication in Node-RED
6
…
…
Communication in Node-RED
7
Communication in Node-RED
8
Communication in Node-RED
9
Cloud Integration
Running Java:
PaaS
Container
IaaS
10
Communication via:
IBM Workflow for Bluemix
Node-RED via PaaS
Node-RED in a Container
Node-RED + Bluemix
11
Cloud Integration
12
Prepared containers, startup script,semi-automated solution.
DEMO
Docker containers run in Bluemix
Communicate with local machine
Stops the trains on the Model Railway Track
Extra: Bluemix integration with DigitalOcean
IBM Bluemix
13
Difficulties
Bluemix Docker support undocumented
o Base Docker layer is not provided
o Startup script and configuration is hard to come by
o Only 5 ports published (without a support ticket)
Bluemix not fully reliable
Network communication issues
Monitoring difficulties
14