• Ingen resultater fundet

‘Dit hus’ introduction

N/A
N/A
Info
Hent
Protected

Academic year: 2022

Del "‘Dit hus’ introduction"

Copied!
21
0
0

Indlæser.... (se fuldtekst nu)

Hele teksten

(1)

‘Dit hus’ introduction

/ Jeppe Brønsted, Arne Skou

and

Per Printz Madsen,

Rune Torbensen

(2)

Project facts

•  Period: April 2009 (August 2008) – October 2011

•  Budget: 10.6 mill.kr.

•  Funding: 8 mill. kr. (2.6 mill. kr. for companies)

•  Knowledge institution partners: AAU (CISS/CMI), AU/Alexandra Institute, CSI, IHA, HIH (AU)

•  Initial private partners: Develco, Seluxit,

Servodan

(3)

Project goals

•  Implementation of prototype for co-

existence of different home control devices

•  Validation of a number of scenarios and interoperabilities

•  Collaboration with industrial partners

•  Investigate the business potential of a homeport

•  Knowledge dissemination of project results

(4)

Home port idea

•  Home port

–  A SOA architecture –  A protocol

–  A rule definition language –  Configuration conventions

•  Gateways

–  Connects vendor sub systems –  Subsystems provide resources for

the home port

•  Scenarios

–  Abstract away from specific technologies

–  Interpreted/executed by home port –  Exploit home port ressources

Scenarie 1 Scenario 1

Homeport

Scenario 2 Scenario 3

Vendor 1 sub system

gateway (Light control)

Vendors 3 sub system

gateway (Security) Vendor 2

sub system gateway (Heat control)

(5)

Project scope

•  Assumption: Gateways spend minimal energy ressources.

–  Focus is on interoperability

–  Gateway energy consumption is initially ignored

•  We extend the functionality through scenario implementations

•  Approach

–  The industrial partners define the scenarios

–  The industrial partners provide products/hardware/

functions

–  The university partners contribute with methods/

protocols and prototypes of homeport interoperability

(6)

Project phases

•  Analysis:

–  Selection of initial scanarios and system requirements –  Definition of interface towards subsystems

•  Prototype I

–  Development

–  New scenarios and system requirements –  Evaluation and publications

•  Prototype N . . –  Development

–  New scenarios and system requirements –  Evaluation and publications

•  Summary and dissemination

(7)

Plans and milestones

(8)

Collaboration examples

•  Develco:

–  I/F between homeport and ZigBee standard controlling selected devices

–  Runs for autumn 2009

•  Seluxit:

–  I/F between homeport and Z-Wave standard –  Rule language

–  Transfer protocols

–  Configuration (internal/external) –  Runs for the next year

–  Possibly I/F to ’minbolig’.

•  Servodan:

–  Communication with Servodan controller –  Runs for autumn 2009

(9)

NOV 2, 2009

AU

DEPARTMENT OF COMPUTER SCIENCE

FACULTY OF SCIENCE AARHUS UNIVERSITY

TATION pRESEN

OVERORDNET ARKITEKTUR

I Dit Hus

(10)

NOV 2, 2009

AU

DEPARTMENT OF COMPUTER SCIENCE

FACULTY OF SCIENCE

AARHUS UNIVERSITY JEPPE BRØNSTED

POST DOC, PHD

AGENDA

Motivation

› Home automation

Arkitektur

› Krav

Layer View

› Deployment View

› Brug af webteknologi

› Composite service - example

› Web UI demo

› Åbne spørgsmål

2

(11)

NOV 2, 2009

AU

DEPARTMENT OF COMPUTER SCIENCE

FACULTY OF SCIENCE

AARHUS UNIVERSITY JEPPE BRØNSTED

POST DOC, PHD

MOTIVATION:

BÆREDYGTIGT ENERGIFORBRUG I HJEMMET

Ide:

Sameksistens af kommunikationsteknologier til styring og overvågning af energi mv.

Optimere energiforbrug gennem integration af home automation teknologier

Bruge mindre - f.eks. sluk-alt knap

Bruge på det rigtigt tidspunkt - f.eks. vaske om natten

Opbevare energi - f.eks. tænde for varmepumpe om natten

Optimeringspotentiale

Suboptimalt energiforbrug - f.eks. lad lyset stå tændt

Afhjælpes af automatisering - f.eks ved at forbinde alarmsystem med lysstyring

Ødsel adfærd - f.eks. langt brusebad

Afhjælpes af ændret adfærd - f.eks. ved at visualisere forbrug

Forudsætning: integration af hjemmets apparater

3

"If you cannot measure it, you cannot improve it."

-!Lord!Kelvin

(12)

NOV 2, 2009

AU

DEPARTMENT OF COMPUTER SCIENCE

FACULTY OF SCIENCE

AARHUS UNIVERSITY JEPPE BRØNSTED

POST DOC, PHD

HOME AUTOMATION

› Indeholder traditionelt flere subdomæner

› Med forskellige krav

› Indenfor hvert domæne findes forskellige standarder/producenter

› Det kan ikke antages at alt kontrolleres af den samme entitet

› (ville ellers gøre det let)

Tilgange

› Standardisering (som i telekom)

› Sameksistens

› (kommunikation via homeport)

4

Lighting Entertainment

HVAC Security

(13)

NOV 2, 2009

AU

DEPARTMENT OF COMPUTER SCIENCE

FACULTY OF SCIENCE

AARHUS UNIVERSITY JEPPE BRØNSTED

POST DOC, PHD

KRAV TIL ARKITEKTUR

Funktionalitet

Apparater skal kunne kommunikere på en fornuftig måde

Forretningsmæssige krav

Producenter skal selv bestemme hvad de vil åbne op for

Eksisterende end-devices skal kunne fungere uden at skulle ændres

Krav til kvaliteter (arkitekturegenskaber)

Modificerbarhed

Det skal være let at tilføje nye subsystemer og end-devices efter deployment - uden at påvirke kørende system

Brugbarhed

Systemet skal være anvendeligt af forskellige kategorier af brugere

Skalerbarhed

100er af samtidige enheder

Skal kunne implementeres på resourcebegrænsede systemer

5

(14)

NOV 2, 2009

AU

DEPARTMENT OF COMPUTER SCIENCE

FACULTY OF SCIENCE

AARHUS UNIVERSITY JEPPE BRØNSTED

POST DOC, PHD

LAYER VIEW

Bridging Layer

Device Layer

Composition Layer

Service Layer

6

Bridgelag videresender kommandoer til og fra

enheder

Services præsenterer funktionalitet gennem

REST/HTTP interface Service composites og

controllere sammensætter funktionalitet.

End-devices forbundet til subsystemer.

E.g. Z-wave enheder

(15)

NOV 2, 2009

AU

DEPARTMENT OF COMPUTER SCIENCE

FACULTY OF SCIENCE

AARHUS UNIVERSITY JEPPE BRØNSTED

POST DOC, PHD

BRUG AF WEBTEKNOLOGI

Motivation

Lav barrier-of-entry:

De fleste plaforme understøtter HTTP, URLs og HTML/XML/json

Device, programmeringssprog, og service uafhængighed

Fast interface - data ændres.

HTTP metoder med semantik: GET, PUT, POST, DELETE

Klienter og servere behøver ikke nødvendigvis forstå alt for at kunne fungere fornuftigt

Udtrykskraft tilstrækkelig

(demonstreret på www)

Implementation

Url hierarchy

services

composites

subscriptions - push and pull (streaming)

gui

Accept-header determines content-type of reply

XML, plain, HTML, json

Browser can be used for inspection

XML schemas for basic types

7

(16)

NOV 2, 2009

AU

DEPARTMENT OF COMPUTER SCIENCE

FACULTY OF SCIENCE

AARHUS UNIVERSITY JEPPE BRØNSTED

POST DOC, PHD

8

:NSLU2

:Composition

:Service

:Bridging :Gateway

:ZigBee lamp :Z-wave switch

ZigBee Z-wave

RS-232

:NSLU2

:Composition

:Service

:Bridging :Gateway

RS-232

LAN/IP

:Z-Wave Adaptor :ZigBee

Adaptor

DEPLOYMENT VIEW

(17)

NOV 2, 2009

AU

DEPARTMENT OF COMPUTER SCIENCE

FACULTY OF SCIENCE

AARHUS UNIVERSITY JEPPE BRØNSTED

POST DOC, PHD

COMPOSITE SERVICE - EXAMPLE

› Simple switch-lamp composite

› Composite subscribes to switch events

› Use HTTP-streaming

GET subscriptions/subscribe/services/switch

› When event is received the lamp state is toggled

PUT services/lamp ‘on’

› Composite can be reconfigured

PUT services/switch-lamp-composite/lamp ‘services/lamp-2’

PUT services/switch-lamp-composite/switch ‘services/switch-2’

9

(18)

NOV 2, 2009

AU

DEPARTMENT OF COMPUTER SCIENCE

FACULTY OF SCIENCE

AARHUS UNIVERSITY JEPPE BRØNSTED

POST DOC, PHD

HVORDAN SER SYSTEMET UD FOR

FORSKELLIGE KATEGORIER AF BRUGERE?

Slutbruger (brug)

Oplever systemet gennem hjemmets apparater (lamper, kontakter, vægpaneler osv.)

Slutbruger (konfigurering/installation)

Tilgår systemet gennem brugergrænseflade (PC, web, mobil, el. lign.)

End-device udvikler

Behøver ikke vide at homeport eksisterer

Controller/composition udvikler

Tilgår services via HTTP/REST. (eksempel næste slide) Bruger service discovery mekanismer

Gatewayudvikler

Er ansvarlig for at tilbyde subsystem device funktionalitet gennem HTTP/REST interface (skal være subsystemsekspert)

Baseret på standard biblioteker

10

(19)

NOV 2, 2009

AU

DEPARTMENT OF COMPUTER SCIENCE

FACULTY OF SCIENCE

AARHUS UNIVERSITY JEPPE BRØNSTED

POST DOC, PHD

WEB UI DEMO

› http://www.cs.au.dk/~jrb/dithus/mockup/gui2.html

11

(20)

NOV 2, 2009

AU

DEPARTMENT OF COMPUTER SCIENCE

FACULTY OF SCIENCE

AARHUS UNIVERSITY JEPPE BRØNSTED

POST DOC, PHD

ÅBNE SPØRGSMÅL

› Skal devices beriges med ekstra intelligens?

› Nogle apparater understøtter ikke tovejs kommunikation

› Lampe der kun understøtter tænd/sluk og ikke status requests. sluk-alt?

› Kontakt der kun sender kommandoer - ingen status

› Logik til at sikre korrekt brug

› Undgå slid på mekanik / lyspærer

› Dekorering med information om energiforbrug (30 watt pære)

› Caching af værdier - både læsning og skrivning

› Service discovery

› Få fat i alle lamper

› Hvor i infrastrukture skal hvilken logik ligge?

› Bridge, gateway, controller/composite

12

(21)

NOV 2, 2009

AU

DEPARTMENT OF COMPUTER SCIENCE

FACULTY OF SCIENCE AARHUS UNIVERSITY

TATION pRESEN

TAK FOR OPMÆRKSOMHEDEN

Spørgsmål?

Referencer

RELATEREDE DOKUMENTER

Based on this Core Model, this International Standard defines an interface for defining the special features of particular versions of Petri nets, the Features Definition

• Introduction of λ -calculus around 1930 by Church and Kleene when investigating function definition, function application,.. recursion and

The scope of this project will be to redesign the user interface and implement a prototype where it is possible to perform the simple change request workflow for bank

Definition 8 Checking: By ′ checking ′ [a domain description (or a requirements prescription)] we shall understand the process of subjecting a domain description (or the

The main constitu- ents of the process related to sustainability are the initial circularity check (5.2.1), requirements about research into social and environmental impacts of the

(105) The Proposal fulfils the requirements of Article 20(3)(h) of the EB Regulation, which requires the definition of the balancing energy gate closure time for all

(91) The Proposal fulfils the requirements of Article 21(3)(h) of the EB Regulation, which requires the definition of the balancing energy gate closure time for all

To reduce selection bias, we compared the non-screening period with the screening period, and found that the introduction of general screening had a positive impact on