31
DogOnt - Ontology Modeling for Intelligent Domotic Environments Dario Bonino, Fulvio Corno Politecnico di Torino Dipartimento di Automatica ed Informatica Torino - Italy October 28, 2008

Iswc2008

Embed Size (px)

DESCRIPTION

Home automation has recently gained a new momentumthanks to the ever-increasing commercial availability of domotic components.In this context, researchers are working to provide interoperationmechanisms and to add intelligence on top of them. For supportingintelligent behaviors, house modeling is an essential requirement to understandcurrent and future house states and to possibly drive morecomplex actions. In this paper we propose a new house modeling ontologydesigned to fit real world domotic system capabilities and tosupport interoperation between currently available and future solutions.Taking advantage of technologies developed in the context of the SemanticWeb, the DogOnt ontology supports device/network independentdescription of houses, including both “controllable” and architectural elements.States and functionalities are automatically associated to themodeled elements through proper inheritance mechanisms and by meansof properly defined SWRL auto-completion rules which ease the modelingprocess, while automatic device recognition is achieved throughclassification reasoning.

Citation preview

Page 1: Iswc2008

DogOnt - Ontology Modeling for IntelligentDomotic Environments

Dario Bonino, Fulvio Corno

Politecnico di TorinoDipartimento di Automatica ed Informatica

Torino - Italy

October 28, 2008

Page 2: Iswc2008

Outline

1 Introduction

2 Objectives

3 Intelligent Domotic Environments

4 DogOnt

5 DogOnt - applications

6 Conclusions

Page 3: Iswc2008

DOMOTICS

DOMus infOrmaTICS: Information technology in the home(domus is Latin for home).

Remote lighting and appliance control have been used foryears (see X10),Nowadays domotics is another term for the digital home,including: the networks and devices that add comfort andconvenience as well as security;Controlling heating, air conditioning, food preparation, TVs,stereos, lights, appliances, entrance gates and securitysystem all fall under the domotics umbrella.

Page 4: Iswc2008

Domotic Systems - drawbacks (1/2)

Many vendors on the market, each with separate, notcompatible, solutions

Different technologies (bus, powerline, wireless)Different protocols (KNX, MyOpen, X10, LonWorks)Different device featuresDifferent sophistication of device firmware (from simplerelay to full software-based operation)

Page 5: Iswc2008

Domotic Systems - drawbacks (2/2)

Nowadays Domotic Systems are rooted on simple electricautomation

Only simple automation is supportedSimple scenariosFixed, programmed behaviorsSimple comfort, security and energy saving policies

No support for more complex interactionsAdaptation to user preferencesContext detectionStructural verificationStatic and dynamic reasoning on the house state

Page 6: Iswc2008

Starting considerations

The sparseness of domotics solutions, the differences inlanguages, communication means and protocols is verysimilar to the “old web”Semantic Web technologies can help solving

Interoperation issuesIntegration of different technologies

and can support home intelligence throughReasoningContext Modeling...

Page 7: Iswc2008

Outline

1 Introduction

2 Objectives

3 Intelligent Domotic Environments

4 DogOnt

5 DogOnt - applications

6 Conclusions

Page 8: Iswc2008

Objectives

Evolving Domotic Systems into Intelligent DomoticEnvironments (IDEs) supporting Interoperation, Integration andIntelligence.

ByAdding a single (cheap) device for

interoperating different domotic plantsimplementing complex behaviors

Modeling environments in a semantic-rich, technologyindependent wayProviding suitable querying and reasoning mechanism overthe environment model

Page 9: Iswc2008

Outline

1 Introduction

2 Objectives

3 Intelligent Domotic Environments

4 DogOnt

5 DogOnt - applications

6 Conclusions

Page 10: Iswc2008

Anatomy of an IDE

Page 11: Iswc2008

DOG

DOG is a Domotic House Gateway [ICTAI2008] designedfor transforming commercial Domotic Systems intoIntelligent Domotic Environments.It provides

Interoperation between different domotic networks throughproper drivers;technology independent, ontology-based, house and devicemodelingadvanced, inter-network, rule-based scenario definition andoperationreasoning on the house model

DogOnt is the ontology model lying at the bases of DOG

Page 12: Iswc2008

Outline

1 Introduction

2 Objectives

3 Intelligent Domotic Environments

4 DogOnt

5 DogOnt - applications

6 Conclusions

Page 13: Iswc2008

DogOnt

DogOnt is an ontology model designed for supportingInteroperation, Integration and Intelligence in domoticenvironments

Building ThingBuilding EnvironmentStateFunctionalityDomotic NetworkComponent

Page 14: Iswc2008

Environment Modeling (1/2)

BuildingThingModels all the elements ofa Building Environmentdivided into

ControllableUnControllable

The UnControllablesub-tree allows to model

Furniture elementsWalls, floors, ceilingsand other architecturalelements (Architecturalsub-tree)

Page 15: Iswc2008

Environment Modeling (2/2)

BuildingEnvironment

Models rooms and architectural spaces composing ahouse

RoomsExternal spaces such as garages, garden, etc.

Page 16: Iswc2008

Device Modeling

Devices are modeled independently from specifictechnologies3 Modeling axes:

Typology - describes the type of device, separatingappliances and devices belonging to house plantsFunctionality - describes the tasks that a device canaccomplish, by defining the available commandsState - describes the conditions in which a device can be(e.g. a Lamp can be ON or OFF)

Technology specific aspects are modeled through separateclasses

NetworkComponent - the root concept for modeling everynetwork specific information, its sub-classes reflect thedifferent networks supported by DOG.

Page 17: Iswc2008

Typology

Controllable devices taxonomy

AppliancesBrown Goods (TV,HiFi,...)White Goods (Fridge,Dishwasher,...)

HousePlantsElectricHVAC (HeatingVentilation & AirConditioning)Security

Page 18: Iswc2008

Functionalities (1/3)

Control FunctionalitiesModel the ability of a device to be controlledDefine the possible commands and their range (needed forcontinuous functionalities)Almost every Controllable has a control functionality

Notification FunctionalitiesModel the ability of a device to issue a notification aboutstate/configuration changesDefine the possible notificationsTypical of Sensors and Buttons/Switches

Query FunctionalitiesModel the ability of a device to be queried about itsstate/configurationIt’s defined for all Controllables

Page 19: Iswc2008

Functionalities (2/3)

Every Functionality class is subdivided into

Continuous FunctionalitiesModel the ability to change device properties in acontinuous manner (e.g. dimming the light emitted by alamp)

Discrete FunctionalitiesModel the ability to abruptly change device properties (e.g.switching a lamp On)

Page 20: Iswc2008

Functionalities (3/3)

Page 21: Iswc2008

States (1/2)

States are classified according to the kind of values they canassume

Continuous statesModel continuously changing qualities (e.g. the currentdimming level of a lamp)The current state value is stored in the continuousValueproperty.

Discrete statesModel discretely changing qualities (e.g. the lamp being Onor Off)The current state value is stored in the discreteValueproperty.Possible states are listed in the possibleStates property.

Page 22: Iswc2008

States (2/2)

Page 23: Iswc2008

DimmerLamp modeling example

Page 24: Iswc2008

Outline

1 Introduction

2 Objectives

3 Intelligent Domotic Environments

4 DogOnt

5 DogOnt - applications

6 Conclusions

Page 25: Iswc2008

DogOnt applications in IDEs (1/2)

DogOnt supports several critical features of IDEs

Device ModelingAllows to define a central point of configuration for realdevicesAbstracts from network-specific issues, exposing systemsand objects as a uniform set of devices, states andfunctionalitiesEnables syntactic and semantic check of commandsreceived from external applications/devices

Page 26: Iswc2008

DogOnt applications in IDEs (2/2)

Device Modeling (continued...)Transitive closure and Classification Reasoning allow todecouple evolution of the model and domotic systemsdevelopmentsSupports the definition of top-down inter-plant scenarios(e.g. scenarios activated by external applications whichinvolve devices in more than one plant)Provides the basis for interoperation between plants (e.g.allowing a BTicino button to control a KNX light)

Frequent issue in Hospitals, Universities, FactoriesOn-going work on automatic generation ofinteroperation rules from DogOnt (DogOnt v2.0)

Page 27: Iswc2008

Example application - DOG

http://domoticdog.sourceforge.net

Page 28: Iswc2008

Outline

1 Introduction

2 Objectives

3 Intelligent Domotic Environments

4 DogOnt

5 DogOnt - applications

6 Conclusions

Page 29: Iswc2008

Conclusions

We defined DogOnt: an ontology for describing domoticenvironments with a particular focus on objects, states andfunctionalitiesDogOnt is currently used by the DOG home gateway,allowing to control several, different, domotic plants, at thesame timeStandard reasoning methods allow to decouple theevolution of DogOnt and of the modeled environmentsDogOnt can be used as a basis on which building morecomplex/intelligent behaviors for commercial domoticsystems

Page 30: Iswc2008

On-going work

We are currently working on:

Structural verification ofdomotic environmentsthrough the evaluation ofSWRL constraints onDogOnt model instancesDynamicdetection/prediction ofsafety critical situations(smoke propagation, safeexit detection in case offire) using rule-basedreasoning and DogOnt

Page 31: Iswc2008

Questions?

Thank you!Any Question?

Dario [email protected]