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

DogOnt - Ontology Modeling for Intelligent Domotic ......technology independent, ontology-based, house and device modeling advanced, inter-network, rule-based scenario definition

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: DogOnt - Ontology Modeling for Intelligent Domotic ......technology independent, ontology-based, house and device modeling advanced, inter-network, rule-based scenario definition

DogOnt - Ontology Modeling for IntelligentDomotic Environments

Dario Bonino, Fulvio Corno

Politecnico di TorinoDipartimento di Automatica ed Informatica

Torino - Italy

October 28, 2008

Page 2: DogOnt - Ontology Modeling for Intelligent Domotic ......technology independent, ontology-based, house and device modeling advanced, inter-network, rule-based scenario definition

Outline

1 Introduction

2 Objectives

3 Intelligent Domotic Environments

4 DogOnt

5 DogOnt - applications

6 Conclusions

Page 3: DogOnt - Ontology Modeling for Intelligent Domotic ......technology independent, ontology-based, house and device modeling advanced, inter-network, rule-based scenario definition

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: DogOnt - Ontology Modeling for Intelligent Domotic ......technology independent, ontology-based, house and device modeling advanced, inter-network, rule-based scenario definition

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: DogOnt - Ontology Modeling for Intelligent Domotic ......technology independent, ontology-based, house and device modeling advanced, inter-network, rule-based scenario definition

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: DogOnt - Ontology Modeling for Intelligent Domotic ......technology independent, ontology-based, house and device modeling advanced, inter-network, rule-based scenario definition

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: DogOnt - Ontology Modeling for Intelligent Domotic ......technology independent, ontology-based, house and device modeling advanced, inter-network, rule-based scenario definition

Outline

1 Introduction

2 Objectives

3 Intelligent Domotic Environments

4 DogOnt

5 DogOnt - applications

6 Conclusions

Page 8: DogOnt - Ontology Modeling for Intelligent Domotic ......technology independent, ontology-based, house and device modeling advanced, inter-network, rule-based scenario definition

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: DogOnt - Ontology Modeling for Intelligent Domotic ......technology independent, ontology-based, house and device modeling advanced, inter-network, rule-based scenario definition

Outline

1 Introduction

2 Objectives

3 Intelligent Domotic Environments

4 DogOnt

5 DogOnt - applications

6 Conclusions

Page 10: DogOnt - Ontology Modeling for Intelligent Domotic ......technology independent, ontology-based, house and device modeling advanced, inter-network, rule-based scenario definition

Anatomy of an IDE

Page 11: DogOnt - Ontology Modeling for Intelligent Domotic ......technology independent, ontology-based, house and device modeling advanced, inter-network, rule-based scenario definition

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: DogOnt - Ontology Modeling for Intelligent Domotic ......technology independent, ontology-based, house and device modeling advanced, inter-network, rule-based scenario definition

Outline

1 Introduction

2 Objectives

3 Intelligent Domotic Environments

4 DogOnt

5 DogOnt - applications

6 Conclusions

Page 13: DogOnt - Ontology Modeling for Intelligent Domotic ......technology independent, ontology-based, house and device modeling advanced, inter-network, rule-based scenario definition

DogOnt

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

Building ThingBuilding EnvironmentStateFunctionalityDomotic NetworkComponent

Page 14: DogOnt - Ontology Modeling for Intelligent Domotic ......technology independent, ontology-based, house and device modeling advanced, inter-network, rule-based scenario definition

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: DogOnt - Ontology Modeling for Intelligent Domotic ......technology independent, ontology-based, house and device modeling advanced, inter-network, rule-based scenario definition

Environment Modeling (2/2)

BuildingEnvironment

Models rooms and architectural spaces composing ahouse

RoomsExternal spaces such as garages, garden, etc.

Page 16: DogOnt - Ontology Modeling for Intelligent Domotic ......technology independent, ontology-based, house and device modeling advanced, inter-network, rule-based scenario definition

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: DogOnt - Ontology Modeling for Intelligent Domotic ......technology independent, ontology-based, house and device modeling advanced, inter-network, rule-based scenario definition

Typology

Controllable devices taxonomy

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

HousePlantsElectricHVAC (HeatingVentilation & AirConditioning)Security

Page 18: DogOnt - Ontology Modeling for Intelligent Domotic ......technology independent, ontology-based, house and device modeling advanced, inter-network, rule-based scenario definition

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: DogOnt - Ontology Modeling for Intelligent Domotic ......technology independent, ontology-based, house and device modeling advanced, inter-network, rule-based scenario definition

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: DogOnt - Ontology Modeling for Intelligent Domotic ......technology independent, ontology-based, house and device modeling advanced, inter-network, rule-based scenario definition

Functionalities (3/3)

Page 21: DogOnt - Ontology Modeling for Intelligent Domotic ......technology independent, ontology-based, house and device modeling advanced, inter-network, rule-based scenario definition

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: DogOnt - Ontology Modeling for Intelligent Domotic ......technology independent, ontology-based, house and device modeling advanced, inter-network, rule-based scenario definition

States (2/2)

Page 23: DogOnt - Ontology Modeling for Intelligent Domotic ......technology independent, ontology-based, house and device modeling advanced, inter-network, rule-based scenario definition

DimmerLamp modeling example

Page 24: DogOnt - Ontology Modeling for Intelligent Domotic ......technology independent, ontology-based, house and device modeling advanced, inter-network, rule-based scenario definition

Outline

1 Introduction

2 Objectives

3 Intelligent Domotic Environments

4 DogOnt

5 DogOnt - applications

6 Conclusions

Page 25: DogOnt - Ontology Modeling for Intelligent Domotic ......technology independent, ontology-based, house and device modeling advanced, inter-network, rule-based scenario definition

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: DogOnt - Ontology Modeling for Intelligent Domotic ......technology independent, ontology-based, house and device modeling advanced, inter-network, rule-based scenario definition

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: DogOnt - Ontology Modeling for Intelligent Domotic ......technology independent, ontology-based, house and device modeling advanced, inter-network, rule-based scenario definition

Example application - DOG

http://domoticdog.sourceforge.net

Page 28: DogOnt - Ontology Modeling for Intelligent Domotic ......technology independent, ontology-based, house and device modeling advanced, inter-network, rule-based scenario definition

Outline

1 Introduction

2 Objectives

3 Intelligent Domotic Environments

4 DogOnt

5 DogOnt - applications

6 Conclusions

Page 29: DogOnt - Ontology Modeling for Intelligent Domotic ......technology independent, ontology-based, house and device modeling advanced, inter-network, rule-based scenario definition

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: DogOnt - Ontology Modeling for Intelligent Domotic ......technology independent, ontology-based, house and device modeling advanced, inter-network, rule-based scenario definition

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: DogOnt - Ontology Modeling for Intelligent Domotic ......technology independent, ontology-based, house and device modeling advanced, inter-network, rule-based scenario definition

Questions?

Thank you!Any Question?

Dario [email protected]