Upload
dario-bonino
View
102
Download
3
Tags:
Embed Size (px)
Citation preview
DogOnt
An Ontology for Intelligent Environments
Dario Bonino
2
Summary
2nd Workshop of M2M Semantics for Smart eeAppliances - Bruxelles
Foundations Environment Modeling Extensibility Applications Questions
3/5/2013
3
Approach and basic principles
Foundations
3/5/20132nd Workshop of M2M Semantics for Smart eeAppliances - Bruxelles
4
Nowadays…
3/5/20132nd Workshop of M2M Semantics for Smart eeAppliances - Bruxelles
RS-485
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
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.”
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
8
“Neutral” representation of a smart environment
Environment Modeling
3/5/20132nd Workshop of M2M Semantics for Smart eeAppliances - Bruxelles
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…
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
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)
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
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*
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
16
Controllable devices
3/5/20132nd Workshop of M2M Semantics for Smart eeAppliances - Bruxelles
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
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)
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
21
Examples
Extensibility
3/5/20132nd Workshop of M2M Semantics for Smart eeAppliances - Bruxelles
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
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
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
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)
26
Defines “user tangible” effects as compositions of Simple effects Complex effects
Effects
3/5/20132nd Workshop of M2M Semantics for Smart eeAppliances - Bruxelles
27
Exploiting DogOnt on the field
Applications
3/5/20132nd Workshop of M2M Semantics for Smart eeAppliances - Bruxelles
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
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)
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
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.