BACdroid       A versatile platform for building automation             Markus Jung, Christian Mauser, Wolfgang Kastner   ...
Agenda                          BACnet in a nutshell                          BACdroid – BACnet stack on Android        ...
Building automation                             Lighting, Shadingmarkus.jung@tuwien.ac.at
Building automation                           Heating, Ventilation, Air Conditioningmarkus.jung@tuwien.ac.at
Building automation                             Security & Safetymarkus.jung@tuwien.ac.at
Building automationmarkus.jung@tuwien.ac.at
in a Nutshell      Management         Tier      Automation                                               Modbus         Ti...
in a Nutshell          Communication protocol for „Building automation and           control network“          Vendor in...
History          1987: Start of development by American Society of           Heating, Refrigerating and Air-Condition Eng...
Layers          BACnet networks are local networks          Typically small messages are exchanged          Low protoco...
Network Topology      Physical segments are extended using       repeaters.      Physical Segments are connected       u...
Application Layer          Process and control data is represented through objects          Application layer service pr...
Objects          Generic standardized BACnet object types, e.g Binary           Input Object Type:markus.jung@tuwien.ac.at
Services          Client/server based confirmed and unconfirmed services          Service groups (alarm and event servic...
BACdroid          Port of the BACnet I/P for Java[1] stack for Android          Stack in general compatible with Android...
Integration Scenariosmarkus.jung@tuwien.ac.at
Use Case: CCTV integration in BACnet          Integration of CCTV in BACnet          Embedded device equipped with camer...
Architecturemarkus.jung@tuwien.ac.at
Camera Event Object     Property Identifier         Property Data Type     Object_Identifier           BACnetObjectIdentif...
Interactionmarkus.jung@tuwien.ac.at
Interactionmarkus.jung@tuwien.ac.at
Proof of Concept Implementationmarkus.jung@tuwien.ac.at
Conclusion & Outlook            Native interaction with building automation based on             BACnet/IP            Ad...
Conclusion & Outlook            Native interaction with building automation based on             BACnet/IP            Ad...
Acknowledgement          This work was funded by FFG (Austrian Research           Promotion Agency) under the Kiras proje...
References       [1] http://bacnet4j.sourceforge.net/       [2]http://www.exozet.com/index.php/effects/de/News/Det        ...
Upcoming SlideShare
Loading in …5
×

Bacdroid

2,110 views

Published on

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,110
On SlideShare
0
From Embeds
0
Number of Embeds
124
Actions
Shares
0
Downloads
22
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Bacdroid

  1. 1. BACdroid A versatile platform for building automation Markus Jung, Christian Mauser, Wolfgang Kastner Institute of Computer Aided Automation Automation Systems Group Vienna University of Technology Vienna, Austria14.03.2012 https://www.auto.tuwien.ac.at
  2. 2. Agenda  BACnet in a nutshell  BACdroid – BACnet stack on Android  Integration scenarios in building automation  CCTV example use case  Conclusion & outlookmarkus.jung@tuwien.ac.at
  3. 3. Building automation Lighting, Shadingmarkus.jung@tuwien.ac.at
  4. 4. Building automation Heating, Ventilation, Air Conditioningmarkus.jung@tuwien.ac.at
  5. 5. Building automation Security & Safetymarkus.jung@tuwien.ac.at
  6. 6. Building automationmarkus.jung@tuwien.ac.at
  7. 7. in a Nutshell Management Tier Automation Modbus Tier Field SBT P1 JCI N2 Tiermarkus.jung@tuwien.ac.at
  8. 8. in a Nutshell  Communication protocol for „Building automation and control network“  Vendor independent  Defines network view and topology for process- and control data (HVAC, Lighting, Security, Safety)  Defines services for data access  User application „out of scope“  Typically used in management and automation tiermarkus.jung@tuwien.ac.at
  9. 9. History  1987: Start of development by American Society of Heating, Refrigerating and Air-Condition Engineers (ASHRAE)  1995: First ANSI/ASHRAE Standard 135  2003: First ISO 16484-5 Building Automation and Control Systems (BACS) – Part 5: Data Communication Protocol  Continuously developments and additions to the current standard (BACnet addendum)  Latest standard: ANSI/ASHRAE 135 – 2008 „BACnet 2008“markus.jung@tuwien.ac.at
  10. 10. Layers  BACnet networks are local networks  Typically small messages are exchanged  Low protocol overhead  Sequence control, segmentation, flow control  application layer  Various transport media possible  BACnet/IP uses BACnet Virtual Link Layer on top of UDP/IPmarkus.jung@tuwien.ac.at
  11. 11. Network Topology  Physical segments are extended using repeaters.  Physical Segments are connected using bridges forming a network with single MAC address domain.  Multiple networks are connected through routers forming a BACnet Internetwork, probably with different transport media (Ethernet, MS/TP, Lon, BACNet/IP,..:) used by the networksmarkus.jung@tuwien.ac.at
  12. 12. Application Layer  Process and control data is represented through objects  Application layer service provides access to the data and additional functionalities, for example alarm or management features.  User application not defined  No API definedmarkus.jung@tuwien.ac.at
  13. 13. Objects  Generic standardized BACnet object types, e.g Binary Input Object Type:markus.jung@tuwien.ac.at
  14. 14. Services  Client/server based confirmed and unconfirmed services  Service groups (alarm and event services, file access services, object access services, remote device management services, virtual terminal services)  Example - object access service provides the generic operations CreateObject, DeleteObject, ReadProperty, WriteProperty, AddListElement  Remote device management: Who-Has, I-Have, Who-Is, I-AMmarkus.jung@tuwien.ac.at
  15. 15. BACdroid  Port of the BACnet I/P for Java[1] stack for Android  Stack in general compatible with Android Java  Minor compatibility issues fixed  Android platform 2.1 – API Level 7  Closed library: seroUtils.jar  decompiled, compile issues fixedmarkus.jung@tuwien.ac.at
  16. 16. Integration Scenariosmarkus.jung@tuwien.ac.at
  17. 17. Use Case: CCTV integration in BACnet  Integration of CCTV in BACnet  Embedded device equipped with camera detects safety and security events [2] [3] [4]  Local detection allows to avoid video stream traffic and reduces privacy concernsmarkus.jung@tuwien.ac.at
  18. 18. Architecturemarkus.jung@tuwien.ac.at
  19. 19. Camera Event Object Property Identifier Property Data Type Object_Identifier BACnetObjectIdentifier Object_Name CharacterString Object_Type BACnetObjectType Description CharacterString Event_Type_List List of BACnetCameraEventType Event_Deadline_List List of BACnetDateTime Event_File_ID_List List of BACnetDateTime Latest_Camera_Event BACnetDateTime  Events stored in a ring-buffer data structure, accessible through lists  Latest_Camera_Event used for Change-of-Value notificationmarkus.jung@tuwien.ac.at
  20. 20. Interactionmarkus.jung@tuwien.ac.at
  21. 21. Interactionmarkus.jung@tuwien.ac.at
  22. 22. Proof of Concept Implementationmarkus.jung@tuwien.ac.at
  23. 23. Conclusion & Outlook  Native interaction with building automation based on BACnet/IP  Ad-hoc access for system operator with Android device  Use case CCTV integration in BACnet  Outlook  Integration of sensors and actuators running on Android devices  New scenarios for interaction with building automationmarkus.jung@tuwien.ac.at
  24. 24. Conclusion & Outlook  Native interaction with building automation based on BACnet/IP  Ad-hoc access for system operator with Android device  Use case CCTV integration in BACnet  Outlook  Integration of sensors and actuators running on Android devices  New scenarios for interaction with building automationmarkus.jung@tuwien.ac.at
  25. 25. Acknowledgement  This work was funded by FFG (Austrian Research Promotion Agency) under the Kiras project “Networked miniSPOT” P824777.markus.jung@tuwien.ac.at
  26. 26. References [1] http://bacnet4j.sourceforge.net/ [2]http://www.exozet.com/index.php/effects/de/News/Det ail/id/983 [3] http://www.securitysmarthome.com/blog/ [4]http://www.flickr.com/photos/dragonpreneur/37501227 96/ [5] http://www.bacnet.org/ [6] Christian Mauser, Wolfgang Granzer, and Wolfgang Kastner. Integrating CCTV Systems into BACnet. In Proc. of 16th IEEE Conference on Emerging Technologies and Factory Automation (ETFA 11), September 2011.markus.jung@tuwien.ac.at

×