This document discusses semantic interoperability and reasoning techniques for heterogeneous IoT devices and data in smart buildings. It describes using ontologies and semantic annotations to model building components, properties, and their relationships. Semantic matching of component inputs and outputs can then enable automatic configuration of monitoring and control systems based on the available devices. Reasoning over the semantic knowledge graph allows reconfiguration when devices are added, removed or properties change over time.
Hierarchy of management that covers different levels of management
Β
VET4SBO Level 3 module 3 - unit 2 - v0.9 en
1. ECVET Training for Operatorsof IoT-enabledSmart Buildings (VET4SBO)
2018-1-RS01-KA202-000411
Level 3
Module 3: State-of-the-art operation and maintenance
practices for sustainable buildings
Unit 3.2: Semantic interoperability and semantic
reasoning techniques to address heterogeneity of
devices and data
2. Outline
1. Logic Theories, Deductive Inference and Declarative
Languages
2. The vision of semantics in smart buildings
3. Revision of monitoring and control components
4. Building βThingsβ knowledge modelling
5. Semantic annotation of building βThingsβ
6. Semantic matching of βThingsβ in buildings
7. Semantic reasoning for automatic configuration
3. Logic Theories, Deductive Inference and Declarative
Languages
Background knowledge
Read the short document with name:
GMilis-LogicTheory&Inference-v1.0
4. The vision of semantics in smart buildings
The configuration or reconfiguration needs of feedback control
systems in large-scale systems, including buildings, where the
availability of sensors, actuators, controllers and other data
processing and analytics functions changes dynamically over time,
can be effectively automated through the use of ontology-based
knowledge models and deductive inference techniques (see later).
These techniques facilitate the automatic management of
information about the IoT components, the storage of knowledge
about feedback control engineering, as well as the implementation of
necessary reasoning algorithms.
5. The vision of semantics in smart buildings
This functionality can be offered through appropriate software solutions that act as
supervisory systems and undertakes to communicate with installed components, as
well as with human operators and cloud services, βunderstandβ what sensing,
actuation, processing and control capability is available in the building and βthinkβ
on behalf of the operators/engineers to appropriately re-configure all feedback
control loops.
The content of this Unit is largely based on recent work in IoT, about βSEMIoTICS:
Semantically-Enhanced IoT-enabled Intelligence Control Systemsβ [1, 2]. The
implementation of the solution adds a middle layer between the human operators,
e.g. control engineers and the IoT components installed in the building for the
monitoring and control of certain properties.
7. Revision of monitoring and control components
β’ xp
(π), xp
(π β 1) β π π π₯ : vector of state-variablesand memory, of dimension nx,
β’ π π
(. ): the dynamicsof the system to be monitored/controlled
β’ vp π , wp π β π π π£: controlled/uncontrolledinputvector
β’ Ο π : faults in the buildingsystems
β’ h(π) : input signal produced by third interdependentsystems
β’ ΞΆp
π : vector of other parameters related to the buildingsystem dynamics
8. Revision of monitoring and control components
β’ π£ π
(π); π£ π
(π β 1) : actuator output signal and memory
β’ fa
(. ) : actuator output dynamics
β’ ua
(π) : signal that drives the action
β’ ΞΆa
(π) : parameters vector
9. Revision of monitoring and control components
β’ π¦s
(π): sensor output signal
β’ π π
(. ): sensor output dynamics
β’ π₯ π
(π) : sensor input vector. States of building properties.
β’ π π
(k): parameters vector
10. Revision of monitoring and control components
β’ uc(π): control decision signal
β’ fc(. ): controller output dynamics
β’ yc
(π): controller input vector (representing the plant's feedback as given to the
controller)
β’ π π
(π) : parameters vector (including the reference trajectory r(k))
11. Revision of monitoring and control components
β’ πβ² π , π π : processed measurementsignal and processed control decision respectively
β’ π π(.), π π(. ): pre- and post-control functionsβ implementations
β’ π π
π : pre-control function input signal (statemeasurements vector)
β’ π» π
π , π» π
(π): parameters vectors of pre- and post- control processing functions respectively
β’ π π π : post-control function input signal (control decision signal)
15. Semantic annotation of building βThingsβ
As has been seen, all building and IoT component knowledge is modelled in a
big graph. The graph described all considered types of control system
components: Building dynamics, Sensors, Actuators, Controllers, Processing
Functions (Pre-Control, Post-Control and Parameter Functions).
The design of the graph can be based on the OWL-S βService Profileβ model
[3], which facilitates the modelling of the service offered by each type of
component.
i.e. each component has inputs, outputs, parameters, as well as some
additional information for its categorisation.
16. Semantic annotation of building βThingsβ
The semantic characterisation of the control system components is mainly based on the SSN ontology
[4]. The SSN ontology defines sensors and actuators as βSystemsβthat βobserveβ/βact-onβ a certain
βpropertyβ of a βfeature-of-interestβ of the environment/building in which they are installed. For
instance, a sensor maymeasure the property βtemperatureβ of the feature-of-interest βroom 1β in a
given building.
The same ontology defines that such a βSystemβ, in order to provide its intended service, implements a
βProcedureβ that has certain βInputsβ and βOutputsβ.
The terms βfeature of interestβ refers to specific βlocationsβ in the building. βLocationsβ here do not
refer to a representation of coordinates in a geographic map; they refer to parts of the building and
objects in the building that correspond to certain relative positions; e.g. βheater 1β, βroom 1β βwindow
1β are locations and subsequently βfeatures-of-interestβ in the building. In order to model relations
between locations, concepts of the GeoSPARQL model [5], e.g. βtouchesβ, βinsideβ, βcontainsβ, etc. can
be used.
17. Semantic annotation of building βThingsβ
Therefore, the services offered by control system components can be modelled
explicitly in a way to facilitate their online invocation, by combining the
βProcedureβ concept of SSN with the βServiceβ concept of OWL-S.
For convenience, we may refer to the inputs, outputs and parameters associated
with a component/service, collectively as βend-pointsβ of that component/service.
The adopted way of annotating/describing the components, allows us to model the
knowledge about all produced/consumed signals using the βFive Ws and one Hβ
method [6], which has been proposed for capturing and communicating the correct
information about an entity in a reporting or decision making context.
18. Semantic annotation of building βThingsβ
It can be seen that the semantic annotation space is defined by four dimensions:
Ξ β‘ πΏ Γ π Γ π Γ π,
That is, an element of the space is represented by the specific values in a quadruple of
respective variables:
β’ Variable l represents the plantβs βfeature-of-interestβ and answers to the question
βWHEREβ, e.g. taking values from a set L = {office; zone 1; zone 2; door;, window; ambient;
wall 1; ceiling 1; heater 1}. The set can be the output of the building design using a CAD
software. e.g. an extract of a BIM [7].
β’ Variable q represents the studied property of the feature-of-interest and answers to the
question βWHATβ, e.g. taking values from a set Q = { temperature; energy; opening; flow
rate; filtration rate; fan speed; time|. The values of this set, as well as of the measurement
unit below, can be retrieved from existing models (e.g. the current version or future
extensions of the Building Information Model [7]).
19. Semantic annotation of building βThingsβ
β’ Variable p represents the role of the signal/variable in the control system configuration and answers
to the question βWHYβ, e.g. taking values from a set P = {state; stateMeasurement;controlDecision;
disturb; referenceValue; plantTopology; regulate; increase; decrease}. These values are given at the
time of annotating the component, either manually selected by the engineer/technician or
automatically by downloading the information from the Internet.
β’ Variable m represents the measurementunit of the property, where applicable, and answers to the
question βHOWβ, e.g. taking values from a set M= {Celsius; Fahrenheit; kWatt; kilogramsPerSecond;
percentage}.
The question βWHOβ is explicitly answered through the link of endpoints to specific components,
whereas the question βWHENβ is out of the scope of the decision making discussed here.
20. Semantic annotation of building βThingsβ
The Semantic Annotation operation is defined as:
Ξ» . : A β¦ Ξ
where:
β’ A is the set of all end-points of control system components
β’ Ξ is the annotation space (quadruple) defined earlier
21. Semantic annotation of building βThingsβ
The input in the figure may be the βofficeβ
in degrees Celsius and denotes a point in
the space , as:
y1
c
= {π: ππππππ, π: π‘πππππππ‘π’ππ,
π: π π‘ππ‘πππππ π’ππππππ‘, π: πΆπππ ππ’π }
In the same way, the semantic annotations
of the example output and parameter are:
u1
c = {π:βπππ‘ππ, π: ππππ€ πππ‘π,
π: ππππ‘ππππ·ππππ πππ, π: πΎπ/π }
ΞΆ1
c = {π: ππππ, π: πππππππ,
π: ππ’ππππππ π‘πππππππ¦, π:%} A control system component with an example semantic model
of an input, an output and a parameter
24. Semantic matching of βThingsβ in buildings
The Semantic Matching operator is defined as:
Ο: Ξ Γ Ξ β¦ {β€, β₯}
Input: a pair of semantic annotations (Output-Input)
For instance:
Ο( office; temperature; stateMeasurement; Celsius , {{office; temperature;
stateMeasurement; any{office; temperature; stateMeasurement; any}) = β€
Transformations can also happen through βsemantic rulesβ for deductive inference
(e.g. relations between locations)
32. Semantic reasoning for automatic configuration
Examples of semantic matchings
between components and the
subsequent configurations of the
temperature control system.
There are three different ways for the
IoT components to be used in order to
achieve the control objectives.
Human operators would have not been
able to figure out all possible solutions
without the support of the semantic
supervisor.
33. Resources
[1] Milis, George, Panayiotou, Christos, & Polycarpou, Marios. (2017). Semantically-Enhanced Online Configuration of Feedback
Control Schemes. IEEE Transactions on Cybernetics. http://doi.org/10.1109/TCYB.2017.2680740
[2] Milis, George, Panayiotou, Christos, & Polycarpou, Marios. (2017). SEMIoTICS: Semantically-enhanced IoT-enabled Intelligent
Control Systems. IEEE Internet of Things Journal, (Special Issue IoT Feedback Control). http://doi.org/10.5281/zenodo.1053854
[3] D. Martin, M. Burstein, J. Hobbs, O. Lassila, D. McDermott, S. McIlraith, S. Narayanan, M. Paolucci, B. Parsia, T. Payne, E. Sirin, N.
Srinivasan, and K. Sycara. (2004) OWL-S: Semantic Markup for Web Services. Accessed: 2017-07-24. [Online]. Available:
https://www.w3.org/Submission/OWL-S/
[4] A. Haller, K. Janowicz, S. Cox, D. L. Phuoc, K. Taylor, M. LefranΓ§ois, R. Atkinson, R. GarcΓa-Castro, J. Lieberman, and C. Stadler.
Semantic Sensor Network Ontology. Accessed: 2017-07-24. [Online]. Available: https://www.w3.org/TR/vocab-ssn/
[5] GeoSPARQL - A Geographic Query Language for RDF Data. Accessed: 2017-07-24. [Online]. Available:
http://www.opengeospatial.org/standards/geosparql
[6] C. Griths and M. Costi, GRASP : the solution. Cardi, UK: Proactive Press, 2011.
[7] D. Conover, D. Crawley, S. Hagan, D. Knight, C. Barnaby, C. Gulledge, R. Hitchcock, S. Rosen, B. Emtman, G. Holness, D. Iverson,
M. Palmer, and C.Wilkins, An Introduction to Building Information Modeling (BIM) - A Guide for ASHRAE Members. Amer. Soc. of
Heating, Refrig. and Air-Cond. Eng., 2009.
β¦and references therein
34. Disclaimer
For further information, relatedto the VET4SBO project, please visit the projectβswebsite at https://smart-building-
operator.euor visit us at https://www.facebook.com/Vet4sbo.
Downloadour mobile app at https://play.google.com/store/apps/details?id=com.vet4sbo.mobile.
This project (2018-1-RS01-KA202-000411) has been funded with support from the European Commission (Erasmus+
Programme). Thispublicationreflects the views only of the author, and the Commission cannot be held responsible
for any use which may be made of the informationcontainedtherein.