29
DogOnt An Ontology for Intelligent Environments Dario Bonino

Dog ont

Embed Size (px)

Citation preview

Page 1: Dog ont

DogOnt

An Ontology for Intelligent Environments

Dario Bonino

Page 2: Dog ont

2

Summary

2nd Workshop of M2M Semantics for Smart eeAppliances - Bruxelles

Foundations Environment Modeling Extensibility Applications Questions

3/5/2013

Page 3: Dog ont

3

Approach and basic principles

Foundations

3/5/20132nd Workshop of M2M Semantics for Smart eeAppliances - Bruxelles

Page 4: Dog ont

4

Nowadays…

3/5/20132nd Workshop of M2M Semantics for Smart eeAppliances - Bruxelles

RS-485

Page 5: Dog ont

5

Two driving forces

Own protocol (Yet Another…)

Own technology Asymmetric

interoperability Vertical solution

(from apps to devices)

Who cares about protocols? Use neutral

representations Loose coupling between

applications and home automation technologies

Mix and merge of technologies

3/5/20132nd Workshop of M2M Semantics for Smart eeAppliances - Bruxelles

Manufacturers Users / Developers

Page 6: Dog ont

6

Intelligent Domotic Environment (IDE)

3/5/20132nd Workshop of M2M Semantics for Smart eeAppliances - Bruxelles

“An environment setting in which existing automation technologies are interfaced by a low cost device (gateway) providing neutral access to the environment for interoperation, intelligent automation scenarios, energy saving, etc.”

Page 7: Dog ont

7

IDE Logic Architecture

3/5/20132nd Workshop of M2M Semantics for Smart eeAppliances - Bruxelles

D D D D D D D D

GWGW

UserInterface

Data analysis

UserInterfaceUser

Interface

SmartApplianc

e

Protocol based onneutral environment and device representation

Existing protocols and devices

Page 8: Dog ont

8

“Neutral” representation of a smart environment

Environment Modeling

3/5/20132nd Workshop of M2M Semantics for Smart eeAppliances - Bruxelles

Page 9: Dog ont

9

Neutral modeling

3/5/20132nd Workshop of M2M Semantics for Smart eeAppliances - Bruxelles

Represent the environment as perceived by human inhabitants (i.e., in a technology independent way) Describe the environment setting

Rooms, doors, walls, etc. Describe devices by modeling

What they can do (commands) What they can notify (values, status changes,

alerts,…) In which condition (state) they can be (e.g., on

or off) Support implicit identification

E.g., the lamp on the drawer…

Page 10: Dog ont

11

DogOnt

3/5/20132nd Workshop of M2M Semantics for Smart eeAppliances - Bruxelles

Our solution to Neutral modeling Declarative modeling of

Environment Devices

Functionalities (What they can be required to do) Notifications (What they can notify) States (In which condition they can be)

Technology independent Extensible Based on Semantic Web technologies

OWL SPARQL Inference

Page 11: Dog ont

12

DogOnt

3/5/20132nd Workshop of M2M Semantics for Smart eeAppliances - Bruxelles

Stems from EHS taxonomy DomoML

Integrates concepts from ZigBee HA specification EN50523 ZigBee Energy@Home (experimental)

Page 12: Dog ont

13

Layered architecture

3/5/20132nd Workshop of M2M Semantics for Smart eeAppliances - Bruxelles

Foundational classes (Core) Taxonmy roots Relationships

Device-related taxonomies Functionalities, States,... Network Components

Instances Specific for each smart environment

Page 13: Dog ont

14

DogOnt – Core

3/5/20132nd Workshop of M2M Semantics for Smart eeAppliances - Bruxelles

Thing

BuildingEnvironm

ent

BuildingThing Functional

ity

State

Notification

CommandStateValu

e

Notification

Functionality

QueryFunctional

ity

CommandFunctional

ity

UnControllable

Controllable

hasState

hasFunctionality

isIn

hasCommand

hasCommand

hasNotification

hasStateValue

generateCommand*

Page 14: Dog ont

15

DogOnt – Devices

3/5/20132nd Workshop of M2M Semantics for Smart eeAppliances - Bruxelles

Lamp

House Plant

Electric

System

Controllable

Building

Thing Building Environme

nt

Building Apartment

Room

isIn / contains

OnOffFunctionalit

y

ControlFunctionali

ty

Functionality

hasFunctionality

Discrete

State

OnOffState

State

hasState

Page 15: Dog ont

16

Controllable devices

3/5/20132nd Workshop of M2M Semantics for Smart eeAppliances - Bruxelles

Page 16: Dog ont

17

DogOnt – Instances

3/5/20132nd Workshop of M2M Semantics for Smart eeAppliances - Bruxelles

Sample Room

Lamp

Switch

OnOffFunctionality

OnNotification

OffCommand

OnOffNotificationFunctionality

OffNotification

OnOffState

OnOffState

hasStateOnCommand

hasFunctionality

hasCommandhasCommand

isInisIn

hasState

hasFunctionality

hasNotification

hasNotificationgeneratesCommand

generatesCommand

OnStateValue

OffStateValue

OffStateValue

OnStateValue

Page 17: Dog ont

18

DogOnt – Technology issues

3/5/20132nd Workshop of M2M Semantics for Smart eeAppliances - Bruxelles

One ontology facet to model technology specific aspects dogont:NetworkComponent Technology dependent Not necessarily based on human perception Not necessarily human understandable

Currently supporting KNX, Modbus, Echelon (web service),

Zwave, ZigBee, MyHome (Bticino), TexasInstruments (SmartWatch)

Page 18: Dog ont

19

DogOnt – Technology issues

3/5/20132nd Workshop of M2M Semantics for Smart eeAppliances - Bruxelles

BTicinoComponen

tZWave

Component

EliteComponen

t

DomoticNetwork

Component

ZigBeeComponen

t

KNXNetIPComponen

t

EchelonComponen

t

ModbusComponen

t

KonnexComponen

t

TexasInstrument

sComponen

t

KNXNetIPGateway

ZigBeeGateway

TexasInstrument

sGateway

EchelonGateway

ModbusGateway

KonnexGateway

EliteGateway

ZwaveGateway

BticinoGateway

Page 19: Dog ont

21

Examples

Extensibility

3/5/20132nd Workshop of M2M Semantics for Smart eeAppliances - Bruxelles

Page 20: Dog ont

22

Extensibility

3/5/20132nd Workshop of M2M Semantics for Smart eeAppliances - Bruxelles

DogOnt (Core) is (can be) extended Using OWL-defined mechanisms Typically

Ontology import owl:SameAs owl:EquivalentClass

Available extensions PowerConsumption ZigBee Effects

Page 21: Dog ont

23

Power Consumption

3/5/20132nd Workshop of M2M Semantics for Smart eeAppliances - Bruxelles

Attaches power consumption to device state values Typical Nominal Actual

Power estimation by inference Device consumption in a given state Identify most “reliable” consumption

Actual actually measured Nominal on device label Typical at the category level

Page 22: Dog ont

24

Power Consumption

3/5/20132nd Workshop of M2M Semantics for Smart eeAppliances - Bruxelles

dogont:Controllabl

e

dogont:StateValu

e

dogont:OnStateVal

uedogont:

OffStateValue

dogont:SimpleLa

mp

PowerConsumption

ElectricPower

Consumption

LampOnPower

Consumption

GenericOffPower

ConsumptionPowerConsum

ptionValue

muo:QualityVal

ue

muo:UnitOfMeau

sre

isA

isAisA

isA

isA

isA

isA

value

typicalValue

nominalValue

actualValue

whenIn

whenIn

whenIn

consumptionOf

LampOnTypicalValue

[40]

Muo:Watt

typicalValue muo:measuredIn

Page 23: Dog ont

25

ZigBee

3/5/20132nd Workshop of M2M Semantics for Smart eeAppliances - Bruxelles

Models ZigBee Profiles Clusters

Maps clusters to dogont:Functionalities Models ZigBee specific aspects Currently supports

ZigBee HA ZigBee core (clusters) ZigBee smart energy (clusters) ZigBee Energy@Home (devices and clusters)

Page 24: Dog ont

26

Defines “user tangible” effects as compositions of Simple effects Complex effects

Effects

3/5/20132nd Workshop of M2M Semantics for Smart eeAppliances - Bruxelles

Page 25: Dog ont

27

Exploiting DogOnt on the field

Applications

3/5/20132nd Workshop of M2M Semantics for Smart eeAppliances - Bruxelles

Page 26: Dog ont

04/15/2023

28

Dog – Domotic OSGi Gateway

Dog in a Nutshell

D D D D D D D D

GWGW

UserInterfac

e

Dog API

(driven by

DogOnt)

Data analysis

Dog API

(driven by

DogOnt)

DogBundles

UserInterfac

e

UserInterfac

e

SmartApplian

ce

Dog (Domotic OSGi Gateway)• Off-line class library generation• On-line configuration• On-line model merging

Open Source• http://domoticdog.sourceforge.net

Page 27: Dog ont

29

Other Applications

3/5/20132nd Workshop of M2M Semantics for Smart eeAppliances - Bruxelles

Off-line rule property checking E.g., conformance to design/safety rules

On-line rule property checking E.g., computation of safe exits in case of

smoke detection Interoperation rule generation

By exploiting ontology relationships (generates command)

Page 28: Dog ont

30

Dario Bonino, Politecnico di Torino, Torino, [email protected]

http://elite.polito.it/ontologies/dogont.owl

http://elite.polito.it/dogont

http://domoticdog.sourceforge.net

http://elite.polito.it/dog-tools-72

Questions?

3/5/20132nd Workshop of M2M Semantics for Smart eeAppliances - Bruxelles

Page 29: Dog ont

31

License

3/5/20132nd Workshop of M2M Semantics for Smart eeAppliances - Bruxelles

This work is licensed under the Creative Commons “Attribution-NonCommercial-ShareAlike Unported (CC BY-NC-SA 3,0)” License.You are free:

to Share - to copy, distribute and transmit the work to Remix - to adapt the work

Under the following conditions: Attribution - You must attribute the work in the manner

specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).

Noncommercial - You may not use this work for commercial purposes.

Share Alike - If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.