home and building automation system an overview -...

75
Home and Building Automation System – an Overview Ambient intelligence: technology and design Fulvio Corno, Dario Bonino Politecnico di Torino, 2013/2014

Upload: buihanh

Post on 19-Mar-2018

218 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Home and Building Automation System – an Overview Ambient intelligence: technology and design

Fulvio Corno, Dario Bonino

Politecnico di Torino, 2013/2014

Page 2: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Outline

• Wired systems

– MyOpen

– KNX

– ModBus

• Wireless systems

– ZigBee

– EnOcean

2013/2014 Ambient intelligence: technology and design 2

Page 3: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

MyOpen BTICINO PROTOCOL FOR MYHOME SYSTEM

Page 4: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

MyOpen / OpenWebNet

• MyOpen system

– Initially proposed by Bticino (Legrand group)

– Proprietary bus (SCS)

– Proprietary low-level protocol

– Simple configuration • Jumpers (can be carried by electricians)

• Software

– Accessible via OpenWebNet gateways

2013/2014 Ambient intelligence: technology and design 4

Page 5: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

OpenWebNet

• Allows external applications to communicate, monitor and control MyHome devices

• Open Specification

• Open protocol designed to work on minimal network requirements

– E.g., phone connections

2013/2014 Ambient intelligence: technology and design 5

Page 6: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

OpenWebNet

• DTMF compatible

– E.g., *1*1*12## Light 12, On

• Defines 2 types of communication sessions

– Command session • To send commands

• To ask for device states

• To require measure values

– Event session • To monitor all the bus events, asynchronously

2013/2014 Ambient intelligence: technology and design 6

Page 7: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

OpenWebNet - Messages

• Tag structure – *tag1*tag2*tag3*...*tagN##

• Tag – Allowed characters

• {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, #}

– Delimitator • *

– Message end • ##

• Content and structure changes for – Commands / State requests

– Requests of measure values

2013/2014 Ambient intelligence: technology and design 7

Page 8: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

OpenWebNet – Commands/States • 3-tag structure

– *WHO*WHAT*WHERE##

• WHO – The command/request functionality

(among a set of pre-defined values)

• WHAT – The action to perform – Possible actions are specified for each

WHO value

• WHERE – Identifies the message destination

• Single device, device groups, scenarios, zones, etc.

• WHAT and WHERE can have additional parameters – WHAT#PAR1#PAR2...#PARn – WHERE#PAR1#PAR2...#PARn

2013/2014 Ambient intelligence: technology and design 8

WHO Functionality Description

0 Scenarios

1 Lighting

2 Actuators

3 Load control

4 Temperature control

5 Anti-burglar systems

6 Intercom

7 Multimedia

13 Gateway management

15 CEN commands

16 / 22 Sound diffusion

17 Scenarios for MH200N gateways

18 Energy management

25 CEN plus/ plus scenarios/ clean contacts

1001 Automation diagnostics

1004 Thermal control diagnostics

1013 Device diagnostics

Page 9: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

OpenWebNet – Commands/States

• Switch on the lamp with id=12

– *1*1*12##

• Switch on the webcam with id=4000

– *7*0*4000##

• Switch off the temperature control for the zone 1

– *4*303*1##

• Switch off all lights

– *1*0*0##

2013/2014 Ambient intelligence: technology and design 9

Page 10: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Idiosyncrasies / Peculiarities

• Explicit State Notion • Same format for State changes and Commands

• State change events only in monitoring sessions

• State change events only for “active devices”, buttons and switches do not generate events.

• States and commands only “defined” for “active” devices

– Buttons and switches do not have an explicit state (independent from the controlled object)

2013/2014 Ambient intelligence: technology and design 10

Page 11: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

More info

• Open community at

– http://www.myopen-legrandgroup.com/

– Free registration

• Documentation, software, discussion groups, application showcase

• Direct contact with Bticino engineers

2013/2014 Ambient intelligence: technology and design 11

Page 12: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

KNX THE EUROPEAN DE-FACTO STANDARD (ALMOST)

KNX is a standardized (EN 50090, ISO/IEC 14543), OSI-based network communications protocol for intelligent buildings. KNX is the successor to, and convergence of, three previous standards: the European Home Systems Protocol (EHS), BâtiBUS, and the European Installation Bus (EIB or Instabus). The KNX standard is administered by the KNX Association..

Page 13: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

KNX

2013/2014 Ambient intelligence: technology and design 13

• Formal merger of 3 leading systems for Home and Building Automation

– EIB

– EHS

– BatiBus

Page 14: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

KNX

2013/2014 Ambient intelligence: technology and design 14

• All devices carry a “bit” of intelligence on-board

• 2 Operating modes

– S-MODE (System Mode) • Requires centralized binding & parameterization (with ETS)

– E-MODE • Simple manipulation without PCs

• Similar to MyOpen

Page 15: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Basic Principles

• Based on the idea of distributed applications

• Every device carries a BIT of «intelligence» on board

• 2 Main operating modes

2013/2014 Ambient intelligence: technology and design 15

S-MODE (System Mode)

E-MODE

• Requires centralized binding & parameterization (with ETS software)

• Simple manipulation without PCs

• Similar to MyOpen

Page 16: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Logic Architecture

2013/2014 Ambient intelligence: technology and design 16

S-MODE E-MODE

CONFIGURATION

APPLICATION

LINK

Page 17: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Application

• Device implement “Distributed Applications”

– Based on Datapoints

• Distributed Applications = Datapoint Binding

• Datapoints:

– Represent process and control variables in the system

– May be inputs, outputs, parameters, diagnostic data,…

– Standardized Datapoint types

– Grouped into Functional Blocks

2013/2014 Ambient intelligence: technology and design 17

Page 18: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

KNX – Application (2)

2013/2014 Ambient intelligence: technology and design 18

• Communication System and Protocol offer a reduced instruction set to

– Read and Write (set and get) Datapoint values

• Application semantics is mapped to

– Data format

– Bindings

• 3 binding schemes – Free

– Structured

– Tagged binding

Page 19: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Datapoint Addressing example

2013/2014 Ambient intelligence: technology and design 19

Page 20: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Functional blocks: Lighting

2013/2014 Ambient intelligence: technology and design 20 * Excerpt from 07_20_02 Lighting Actuators v1.4 AS – The KNX 2.0 specification

Page 21: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Datapoints: Lighting

2013/2014 Ambient intelligence: technology and design 21

* Excerpt from 07_20_02 Lighting Actuators v1.4 AS – The KNX 2.0 specification

Page 22: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Datapoint specification: Blinds

2013/2014 Ambient intelligence: technology and design 22

Page 23: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Application = Datapoints Binding

2013/2014 Ambient intelligence: technology and design 23

GroupAddress

(multicast access to

a datapoint)

GroupAddress

(multicast access to

a datapoint)

Binding

Page 24: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

KNX - Binding

2013/2014 Ambient intelligence: technology and design 24

• Free binding: – No a priori prescription on which Datapoints may be linked – Free addressing – Customized multicast grouping at the level of individual

Datapoints – Central to S-Mode

• Structured binding – Precise pattern for linking a whole set of Datapoints, usually

corresponding to a Functional Block or Channel – Free-address

• E.g., Controller and Push-button Modes

• Tagged binding – … too complex …

Page 25: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Link - Connections

2013/2014 Ambient intelligence: technology and design 25

TP 1 Twisted pair cabling

SELV network and supply system

Asynchronous character

oriented data transfer and half

duplex bi-directional

communication

Transmission rate: 9600 bit/s

CSMA/CA collision avoidance

All topologies may be used and

mixed (line, star, tree, ….)

PL 110 Communication over the mains

supply network

Spread frequency shift keying

signaling

Asynchronous transmission of data

packets and half duplex bi-

directional communication

Central frequency 110 kHZ

Transmission rate: 1200 bit/s

CSMA, compliant to EN 50065-1

RF 868,3 MHz band for Short

Range

Frequency Shift Keying,

maximum duty cycle of 1%

32768 cps (chips per second)

Manchester data encoding

KNXNet/IP Standard protocol for KNX devices

connected to an IP network

IP network as a fast backbone in

KNX installations

Tunnels KNX Frames over IP

Page 26: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

KNX – Network technology

2013/2014 Ambient intelligence: technology and design 26

• TP 1 (basic medium inherited from EIB)

– Twisted pair cabling

– SELV network and supply system

– Asynchronous character oriented data transfer and half duplex bi-directional communication

– Transmission rate: 9600 bit/s

– CSMA/CA collision avoidance

– All topologies may be used and mixed (line, star, tree, ….)

Page 27: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

KNX – Network technology

2013/2014 Ambient intelligence: technology and design 27

• PL 110

– Communication over the mains supply network

– Spread frequency shift keying signaling

– Asynchronous transmission of data packets and half duplex bi-directional communication

– Central frequency 110 kHZ

– Transmission rate:1200 bit/s

– CSMA, compliant to EN 50065-1

Page 28: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

KNX – Network technology

• RF

– 868,3 MHz band for Short Range

– Frequency Shift Keying, maximum duty cycle of 1%

– 32768 cps (chips per second)

– Manchester data encoding

2013/2014 Ambient intelligence: technology and design 28

Page 29: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

KNX – Network technology

• KNXnet/IP

– Standard protocol for KNX devices connected to an IP network

– IP network as a fast backbone in KNX installations

– Tunnels KNX Frames over IP

2013/2014 Ambient intelligence: technology and design 29

Page 30: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Link - Topology

• LINE

• Up to 256 devices

• Connected into Areas via a Main Line

• AREA

• Up to 16 lines per area

• Up to 16 Areas

• Connected via a Backbone Line

• Max. Number of devices

• 65536

2013/2014 Ambient intelligence: technology and design 30

Page 31: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

KNX on Stage

2013/2014 Ambient intelligence: technology and design 31

Page 32: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Idiosyncrasies / Peculiarities

2013/2014 Ambient intelligence: technology and design 32

• Implicit State Notion – Only a subset of device states can be queried

• State Events • State change events can be published by carefully configuring the KNX devices

– S-MODE – Specific group address for notifications – Pass-through gateway configuration

• All devices can publish state changes • In-operation events available

• KNXNet/IP – Tunnel mode event-based – Supports partial device discovery

• EIBNet/IP – Requires participation to a multicast delivery group:

• 239.192.39.238

Page 33: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Modbus ONE OF THE MOST DIFFUSED INDUSTRIAL PROTOCOLS

Modbus is a serial communications protocol originally published by Modicon (now Schneider Electric) in 1979 for use with its programmable logic controllers (PLCs). Simple and robust, it has since become a de facto standard communication protocol, and it is now a commonly available means of connecting industrial electronic devices

Page 34: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Basic Principles

• Application layer messaging protocol (level 7 of the OSI model)

– client/server communication between devices

– different types of buses or networks

• Industry serial de facto standard since 1979

• Request/reply protocol

– Services specified by function codes

2013/2014 Ambient intelligence: technology and design 34

Page 35: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Logic Architecture

2013/2014 Ambient intelligence: technology and design 35

Page 36: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Modbus - Addressing

2013/2014 Ambient intelligence: technology and design 36

• precise PDU addressing rules – Each data block is

addressed from 0 to 65535

– Each element within a data block is numbered from 1 to n

• pre-mapping between the MODBUS data model and the device application is totally vendor device specific

Page 37: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Data Model

• 4 primary tables

– up to 65536 data items, each

• Distinctions between

– inputs and outputs

– bit-addressable and word-addressable data items

• Read or write of items can span multiple consecutive data blocks

2013/2014 Ambient intelligence: technology and design 37

Page 38: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Function codes

• Function Code

– Indicates to the server what kind of action to perform

– Is coded in one byte

– Valid codes are in the range of 1 ... 255 decimal • the range 128 – 255 is reserved and used for exception responses

– Function code "0" is not valid

– Sub-function codes are added to some function codes to define multiple actions

2013/2014 Ambient intelligence: technology and design 38

Page 39: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Function Codes

2013/2014 Ambient intelligence: technology and design 39

Page 40: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Request/reply protocol

2013/2014 Ambient intelligence: technology and design 40

SUCCESSFUL TRANSACTION

FAILING TRANSACTION

Page 41: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Protocol structure

• Simple protocol data unit (PDU)

– Independent of the underlying communication layers

– Specific buses can introduce additional fields on the application data unit (ADU)

2013/2014 Ambient intelligence: technology and design 41

Page 42: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Modbus – Data Model

2013/2014 Ambient intelligence: technology and design 42

Multiple data blocks Single data block

Page 43: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Modbus - Transaction

2013/2014 Ambient intelligence: technology and design 43

Page 44: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Link - Connection

2013/2014 Ambient intelligence: technology and design 44

RS485 Serial cable (1 or 2 pairs)

Variable transmission speed from 9600 to 115200 baud

Modbus TCP/IP Ethernet cable (Fiber for longer distances)

Transmission speed depends on the underlying

hardware / network

Page 45: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Modbus – Network technology (2)

2013/2014 Ambient intelligence: technology and design 45

• TCP/IP over Ethernet

• Asynchronous serial transmission over a variety of media

– wire : EIA/TIA-232-E, EIA-422, EIA/TIA-485-A

– fiber, radio, etc.

• MODBUS PLUS

– high speed token passing network

Page 46: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Link - Topology

• Depends on the link technology

– RS485 • serial (daisy chain)

• 1 master, many slaves (up to 255)

– Modbus TCP/IP • Multiple masters

• Multiple slaves

2013/2014 Ambient intelligence: technology and design 46

Page 47: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Network Architecture

2013/2014 Ambient intelligence: technology and design 47

Page 48: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Modbus on Stage

2013/2014 Ambient intelligence: technology and design 48

Page 49: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Idiosyncrasies / Peculiarities

• Explicit State Notion – Can only be queried (read)

• No command notion – Only write operations on registers

• Client/Server approach – Does not support event-based interaction

• Polling

• No explicit device notion – Registers exposed through a Modbus Gateway – Devices identified by their slave id

• No device discovery – Available registers are defined by the vendor

2013/2014 Ambient intelligence: technology and design 49

Page 50: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Wireless systems

Page 51: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

A comparison (source: Z-Wave)

2013/2014 Ambient intelligence: technology and design 51

Page 52: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

ZigBee WIRELESS CONTROL THAT SIMPLY WORKS (?)

ZigBee is a specification for a suite of high level communication protocols used to create personal area networks built from small, low-power digital radios. ZigBee is based on an IEEE 802.15 standard. Though low-powered, ZigBee devices often transmit data over longer distances by passing data through intermediate devices to reach more distant ones, creating a mesh network; i.e., a network with no centralized control or high-power transmitter/receiver able to reach all of the networked devices.

Page 53: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Basic Principles

• Low cost, very low power consumption, two way, wireless communications standard

– Built on top of IEEE 802.15.4

• Secure

– Messages are encrypted

• Defines several profiles

– Standard: Home Automation, Smart Energy, etc.

– Custom

• Each profile includes one or more ZCL (ZigBee Cluster Library) specification

2013/2014 Ambient intelligence: technology and design 53

Page 54: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Basic principles

2013/2014 Ambient intelligence: technology and design 54

ZigBee Profiles

ZigBee Cluster Libraries

Group of devices / functionalities

pertaining a given application domain, e.g.,

Home Automation (ZigBee HA), Smart

Energy (ZigBee SE), etc.

Device functionalities

described in terms of

client-server interactions

Page 55: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Logic Architecture

2013/2014 Ambient intelligence: technology and design 55

Page 56: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

ZDO – ZigBee Device Objects

2013/2014 Ambient intelligence: technology and design 56

Assemble configuration information from

the end applications to determine and

implement discovery, security

management, network management, and

binding management.

Initialize the application support

sub-layer (APS), the network

layer (NWK),

and the Security Service

Provider.

interface

APPLICATION OBJECTS

interface

LOWER PORTIONS

OF THE ZIGBEE

PROTOCOL STACK

Page 57: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Application Framework

2013/2014 Ambient intelligence: technology and design 57

Agreements for messages, message formats, and

processing actions that enable developers to create an

interoperable, distributed application employing

application entities that reside on separate devices. These

application profiles enable applications to send commands,

request data, and process commands and requests.

ZigBee Profiles

Clusters are identified by a cluster identifier, which is

associated with data flowing out of, or into, the device.

Cluster identifiers are unique within the scope of a

particular application profile.

ZigBee Clusters

THE ENVIRONMENT IN WHICH APPLICATION OBJECTS ARE HOSTED ON ZIGBEE DEVICES

Page 58: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Profiles

2013/2014 Ambient intelligence: technology and design 58

HOME AUTOMATION This profile defines device descriptions and standard

practices for applications needed in a residential or

light commercial environment. Installation scenarios

range from a single room to an entire home up to

20,000 square feet (approximately 1850m2).

The key application domains included in this initial

version are lighting, HVAC, window shades

and security.

This profile defines device descriptions and standard

practices for Demand Response and Load

Management “Smart Energy” applications needed

in a Smart Energy based residential or light

commercial environment. Installation scenarios range

from a single home to an entire apartment complex.

The key application domains included in this initial

version are metering, pricing and demand

response and load control applications.

SMART ENERGY

The E@H features extend the HA and SE ZigBee

profiles in order to build a new class of devices, i.e.

White Goods for Energy@Home.

ENERGY@HOME

Page 59: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Profiles

2013/2014 Ambient intelligence: technology and design 59

HOME AUTOMATION This profile defines device descriptions and standard

practices for applications needed in a residential or

light commercial environment. Installation scenarios

range from a single room to an entire home up to

20,000 square feet (approximately 1850m2).

The key application domains included in this initial

version are lighting, HVAC, window shades

and security.

This profile defines device descriptions and standard

practices for Demand Response and Load

Management “Smart Energy” applications needed

in a Smart Energy based residential or light

commercial environment. Installation scenarios range

from a single home to an entire apartment complex.

The key application domains included in this initial

version are metering, pricing and demand

response and load control applications.

SMART ENERGY

The E@H features extend the HA and SE ZigBee

profiles in order to build a new class of devices, i.e.

White Goods for Energy@Home.

ENERGY@HOME

Teaser:

Next week (Thursday, June 5th) the director of the Energy@Home consortium will present

their activities.

Page 60: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Profiles

2013/2014 Ambient intelligence: technology and design 60

HOME AUTOMATION This profile defines device descriptions and standard

practices for applications needed in a residential or

light commercial environment. Installation scenarios

range from a single room to an entire home up to

20,000 square feet (approximately 1850m2).

The key application domains included in this initial

version are lighting, HVAC, window shades

and security.

This profile defines device descriptions and standard

practices for Demand Response and Load

Management “Smart Energy” applications needed

in a Smart Energy based residential or light

commercial environment. Installation scenarios range

from a single home to an entire apartment complex.

The key application domains included in this initial

version are metering, pricing and demand

response and load control applications.

SMART ENERGY

The E@H features extend the HA and SE ZigBee

profiles in order to build a new class of devices, i.e.

White Goods for Energy@Home.

ENERGY@HOME

Teaser:

Next week (Thursday, June 5th) the director of the Energy@Home consortium will present

their activities.

Page 61: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Clusters

• Cluster – Collection of attributes and commands – Defines a communications interface between two devices – Devices implement server and client sides of the interface

• Client – A cluster interface which is listed in the output cluster list of the

simple descriptor on an endpoint. – Sends commands that manipulate the attributes on the

corresponding server cluster.

• Server – A cluster interface which is listed in the input cluster list of the

simple descriptor on an endpoint. – Typically this interface supports all or most of the attributes of

the cluster.

2013/2014 Ambient intelligence: technology and design 61

Page 62: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Cluster Definition: OnOffSwitch

2013/2014 Ambient intelligence: technology and design 62

I O

Page 63: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Cluster Definition: OnOffOutput

2013/2014 Ambient intelligence: technology and design 63

Page 64: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Link - Topology

2013/2014 Ambient intelligence: technology and design 64

STAR TREE

MESH

• coordinator is

responsible for starting

the network and for

choosing certain key network

parameters

• the network may be

extended through the use

of ZigBee routers

• hierarchical routing

strategy

• beacon-oriented

communication

• full peer-to-peer communication

• routers in mesh networks do not

currently emit regular IEEE

802.15.4-2003 beacons

• the network is controlled by

one single device called the

ZigBee coordinator

• the ZigBee coordinator is

responsible for initiating and

maintaining the devices on

the network

Page 65: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

EnOcean The inventor of patented energy harvesting wireless technology

First ISO/IEC wireless standard optimized for solutions with ultra-low power consumption and energy harvesting .

Page 66: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Approach

• EnOcean modules combine micro-energy converters with ultra low power electronics and reliable wireless communications

• (nearly) Self-powered wireless sensor solutions

2013/2014 Ambient intelligence: technology and design 66

Page 67: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Energy?

2013/2014 Ambient intelligence: technology and design 67

• And more…

• Pressure

• Rotation (wheels, gas meters)

• Vibrations

Page 68: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Software architecture

2013/2014 Ambient intelligence: technology and design 68

Page 69: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Radio technology

2013/2014 Ambient intelligence: technology and design 69

Page 70: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Transmission protocol

2013/2014 Ambient intelligence: technology and design 70

Page 71: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Short messages: reliability

2013/2014 Ambient intelligence: technology and design 71

Page 72: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

More information

2013/2014 Ambient intelligence: technology and design 72

Page 73: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Open standard, multiple vendors

2013/2014 Ambient intelligence: technology and design 73

http://www.enocean-alliance.org/en/products/

Page 74: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

Wanna play?

2013/2014 Ambient intelligence: technology and design 74

http://www.enocean.com/en/enocean-pi/

Page 75: Home and Building Automation System an Overview - …elite.polito.it/files/courses/01PRD/2014/slides/Home and Building... · Home and Building Automation System – an Overview

License

2013/2014 Ambient intelligence: technology and design 75

• These slides are distributed under a Creative Commons license “Attribution – NonCommercial – ShareAlike (CC BY-NC-SA) 3.0”

• You are free to: – Share — copy and redistribute the material in any medium or format – Adapt — remix, transform, and build upon the material – The licensor cannot revoke these freedoms as long as you follow the license

terms.

• Under the following terms: – Attribution — You must give appropriate credit, provide a link to the license,

and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.

– NonCommercial — You may not use the material for commercial purposes. – ShareAlike — If you remix, transform, or build upon the material, you must

distribute your contributions under the same license as the original. – No additional restrictions — You may not apply legal terms or technological

measures that legally restrict others from doing anything the license permits.

• http://creativecommons.org/licenses/by-nc-sa/3.0/