Supervised by Prof. Ran Gilady Haim Daniel Royi Nehemia Supervised by Prof. Ran Gilady
Introduction to Building Automation Programmed, computerized network. Electronic devices that monitor (logging of temperature, energy use, equipment start times, operator logon, etc) and control the building’s systems. Reduced energy and maintenance costs – organize and optimize building control sub-systems such as security, fire/life safety, cooling/heating equipment, lighting control, etc.
Applications’ Examples Automated security and surveillance systems. Light and climate control. Automatic plant watering and pet feeding.
Project’s Goals Providing application programming interface for access to the intelligent building’s framework. Providing wireless access to the intelligent building by PDA , Cell phone ,etc. Implementation of a wireless distributed sensors network.
Technologies EIB – European Installation Bus Communication System, with a set of physical communication media, a message protocol and corresponding models for the communication stack in each node. Management system in the field of electrical installation for load switching, environmental control and security, for different types of buildings. Can be installed in large buildings such as business premises, schools, hospitals and factories as well as in domestic residences.
Technologies cont. EIB Server The EIB Server is connected to the EIB cloud via RS232 cable, the EIB server as its name suggests it serves as an interface to the EIB device, the transmission to the EIB hardware is made through Bluetooth devices. The use of the EIB Server as a middle-man between the EIB and the outer world gives the user great flexibility in designing and building EIB setups. EIB cloud EIB Hardware EIB Server RS232
Technologies cont. Bluetooth A cable replacement technology Operates in the unlicensed ISM band at 2.4 GHz Frequency Hopping scheme (1600 hops/sec) 1 Mb/s symbol rate Range 10+ meters Characteristic topology - piconet Key features: Worldwide capability Robustness low complexity low power low cost.
Project’s Phases Phase 1 – Interfacing EIB network. Serial PEI 16 protocol BCU – Bus Controlling Unit Linux Device Driver Phase 2 – Providing core Bluetooth network. Connection Setup Piconet formation Phase 3 – Integrating it altogether.
Phase 1 - PEI 16 Serial Protocol Connection Asynchronous, serial and point to point. Uses physical RS232 interface. Full duplex with hardware handshake. Four lines are needed – RTS , CTS , Tx and Rx. Message Format Consists of one length byte followed by 0 to 31 data bytes. P 01 XXXXX Data Data Data
Phase 1 – Interfacing EIB Network EIB Server BCU EIB Server Linux OS PEI 16 Serial Protocol Request To Send Request To Send Data Length Clear To Send Clear To Send
Phase 1 – Interfacing EIB Network EIB Application User Space EIB Server Kernel Space Driver Serial Interface Hardware Add PEI 16 brief description here ? Connection Message Format Communication Sequence BCU PEI 16
Phase 2 – Core Bluetooth Network Connection setup - Inquiry Learn about the identity of other devices Remote devices must be in the inquiry scan state Piconet formation Invite remote device to join the piconet BlueCore2 Chip Thermostat Micro Chip Inquiry process Uart I/O Digital I/O Master Active Slave Parked Slave
Phase 3 – Integrating it all PEI 16 protocol implementation on sensor. BCU EIB Server Linux OS
Phase 3 – Integrating it all Added the ability to parse and generate higher layer EIB messages over PEI 16 protocol for each sensor. Thermostat updates Digital I/O change ! ! !
Questions