The Smart Home Concept : our immediate future
Vincent Ricquebourg1,2, David Menga2, David Durand3, Bruno Marhic1,
Laurent Delahoche1, Christophe Logé3
1LTIAvenue des Facultés le
Bailly80000 Amiens (France)
2EDF R&D1 Avenue Charles
de Gaule92141 Clamart
(France)
3LaRIA33 rue Saint Leu
80000 Amiens (France)
LTI
Summary
1. Introduction
2. What is a Smart Home ?
3. The service concept
4. How to perceive the context ?
5. The OSGi framework
6. Architecture for context perception
7. Architecture implementation
8. Future works and conclusion
1
Introduction 2. What is a Smart Home?
3. The service concept
4. How to perceive the context ?
5. The OSGi framework
6. Architecture for context perpception
7. Architecture implementation
8. Future works and conclusion
4
LTI
1. Introduction
EDF is the french electricity provider
• The EDF Group manages all aspects of the electricity business. The Group has a strong footing in Europe, with a total of 40.2 million customers worldwide.
The only one in this market for now
• Opening of the electricity market to the competition Customers have the right to choose energy providers
• EDF has to provide new services to keep its customers and to attract new customers
In our case, we want to provide services to inhabitants
EDF : Electricité De France (Electricity of France)
http://www.edf.fr/259i/Homefr.html
2What is a Smart Home ?
1. Introduction2.
3. The service concept
4. How to perceive the context ?
5. The OSGi framework
6. Architecture for context perpception
7. Architecture implementation
8. Future works and conclusion
6
LTI
2. What is a Smart Home ?
Has an access to world through an Internet connection
Has Smart Objects :
• Smart Refrigerator, Smart TV, Smart Heating, …
It’s a comfortable house :• Heating, air-conditioning,
lighting,…An economic house
A house which simplifies the daily (back to the house, go out, relaxation and leisures,…)
A sure house (safety of the objects, safety of the persons)
An autonomous house (supervision, reactivity)
A Smart Home has to provide services to inhabitants
7
LTI
What is a Smart Home ?
8
LTI
Telecom Available Technologies
BANs PANs LANs MANs WANs
WANs (Wide Area Networks) : •Satellites or antennas installed on towers or on buildings (3G, EDGE, GPRS,…)
MANs (Metropolitan Area Networks) :•WIMAX
LANs (Local Area Network) :•Wifi and HyperLan (Wireless)•Ethernet (Wire)
PANs (Personal Area Networks) :•Bluetooth, RFID, Zigbee, UWB (Wireless)•CEBus, Convergence, emNET, HAVi™, HomePNA™, HomePlug™, HomeRF™, Jini™ technology, LonWorks, X10, UPnP, VESA, USB, serial link (Wire).
BANs (Body Area networks) :•BodyLAN (use the skin to transmit data)
3
The service concept
1. Introduction
2. What is a Smart Home ?
4. How to perceive the context ?
5. The OSGi framework
6. Architecture for context perpception
7. Architecture implementation
8. Future works and conclusion
10
LTI
3. The service concept
Services to the inhabitants (non-exhaustive)
Detection of health problems
We have to analyze :
Physiological information To detect heart attack,…
People behaviorTo detect the fall of an elderly person
Detection of house problems
We have to analyze :
Water level To detect water leakage
Temperature levelTo detect the fire in a room
11
LTI
3. The service concept
Providing services in the house
To provide services,
the house needs to interact (environment and people)
Smart Home
12
LTI
Services to inhabitants : Examples
The Smart Home has to perceive the context
• The Smart Home has to be context-awareness in order to provide the more adapted service according to an actual context
• The Smart Home provides contextualized service
• I am going out, the Smart Home chooses the economic mode (Switch off the lights, lowers heating, lowers shutters)
• I come back at home, lights switch on, my emails are diffused on my TV...
• The indoor lighting adapts itself according to the outdoor luminosity
4
How to perceive context?
1. Introduction
2. What is a Smart Home?
3. The service concept
5. The OSGi framework
6. Architecture for context perpception
7. Architecture implementation
8. Future works and conclusion
14
LTI
4. How to perceive context?
The Smart Home has to observe the inhabitant and its environnment
• Many layers to perceive the context
Sensors Contexts Contextualized Services
Ref : Coutaz J., Crowley J., Dobson S., Garlan D. - « Context is key » -Commun. ACM, Vol. 48, No. 3. (March 05)
5
The OSGi Framework
1. Introduction
2. What is a Smart Home ?
3. The service concept
4. How to perceive the context ?
6. Architecture for context perpception
7. Architecture implementation
8. Future works and conclusion
16
LTI
5. The OSGi Framework
OSGi technology is Universal Middleware (cars, cellulars, gateways,…)
• In a distributed computing system, middleware is defined as the software layer that lies between the operating system and the applications on each site of the system.
OSGi technology provides a service-oriented, component-based environment for developers and offers standardized ways to manage the software lifecycle.
Based on Java™ platform.
http://www.osgi.org/
17
LTI
5. The OSGi Framework
The OSGi Service Platform provides the functions to change the composition dynamically on the device of a variety of networks, without requiring restarts.
To minimize the coupling, the OSGi technology provides a service-oriented architecture (SOA) that enables these components to dynamically discover each other for collaboration.
Many standard component interfaces for common functions like HTTP servers, configuration, logging, security, user administration, XML, Deployment Admin, UPnP Service,…
18
LTI
5. The OSGi Framework : Example of Deployement
6
Architecture for Context Perception
1. Introduction
2. What is a Smart Home ?
3. The service concept
4. How to perceive the context ?
5. The OSGi framework
7. Architecture implementation
8. Future works and conclusion
20
LTI
6. Architecture for Context Perception
A four layer Architecture
Perception
• How to perceive? Using sensors which enable to quantify a physical phenomenon → Contextual data acquisition
Context
• How to perceive context ? Using a model of the context with contextual data
Inference
• How to define a situation? Using an inference engine (raisoner)
Action
• How to act face to a situation? Using actuators which enable to modify a physical phenomenon
P
C
I
A
En
viro
nm
ent
21
LTI
6. Architecture for Context Perception
Perception
Action
Context
Inference
Environnement
22
LTI
6. Architecture for Context Perception
The hardware layer
• To perceive a physical phenomenon (sensors)
• To modify a physical phenomenon (actuators)
23
LTI
6. Architecture for Context Perception
The event layer
• Allows the sensors/actuators data transmission
• Provide a harmonized layer for sensors/actuators data
24
LTI
The event-driven bus
Use of an event-driven bus (publish/subscribe)
•Event-driven bus to manage simple events
Format of the emitted events:
[Sensor,SensorValue,TimeStamp,SensorUnit,Confidence,SensorID,MsgID]
Event-driven bus
Sensor 1
Sensor 2
Bundle 1
Bundle 2
25
LTI
The context model
The Ontology
• Models the Smart Home• The model is filled with sensors data
Rules
• Enable reasoning based on Ontology content• Inference engine
26
LTI
The context model
Our context model is based on an ontology that models the Smart Home.
It provides a physical representation of the Smart Home (doors, walls, windows,…), the objects of the Smart Home (furnitures, electric household appliances,…), the inhabitant by modelling some characteristics (localisation, identification,...).
Ontologies are based on the OWL language, from W3C. With OWL, it is possible to represent the meaning of the terms and the relations between them.
With rules, it is possible to make reasoning based on the ontology content to define the best service to provide.
Inference
I know this
I know that
What is the suggestion?
Ontology Rules
27
LTI
Ontology for context modeling
28
LTI
The context model
Rules : SWRL is a proposal in submission by the W3C, aiming at combining OWL and an inference rules language based on RuleML
Light(?l) Λ Inoccupied_House (?h) Λ IsLocated(?l,?h) → Light_OFF(?l)Radiator(?r) Λ Inoccupied_House (?h) Λ IsLocated(?r,?h) → Radiator_OFF(?r)Light(?l) Λ Occupied_room (?r) Λ IsLocated(?l,?r) → Light_ON(?l)
29
LTI
Different services
C/C services
• Control/Command (C/C) Services perform basic actions
Basic services
• Provide contextual data from one sensor/actuator class
Composite services
• Aggregate contextual data sets in order to extract higher-level data.
Ontology service
• Listens to data of the event bus, and then fills the contextual model.
Contextual services
• Are provided to inhabitants, based on information from the environment.
7
Architecture implementation
1. Introduction
2. What is a Smart Home ?
3. The service concept
4. How to perceive the context ?
5. The OSGi framework
6. Architecture for context perpception
8. Future works and conclusion
31
LTI
7. Architecture implementation
The Follow-me scenario: I move in a room and the system automatically switches on the nearest lights.
An actuators network which can switch on and off the lights through X10 material (PLC).A wireless motion sensors network on which we can define detection zones.
Problems :
X10 material is average
With an embedded system (1 Ghz processor, 256 Mo RAM), the execution time of the inference engine is about 5 seconds.
8
Future works and Conclusion
1. Introduction
2. What is a Smart Home ?
3. The service concept
4. How to perceive the context ?
5. The OSGi framework
6. Architecture for context perpception
7. Architecture implementation
33
LTI
8. Future works and conclusion
Adding another sensors (camera, force sensors,…)
Need to test the robustness of the architecture with another sensors
Need to find a more powerful embedded system to be real-time
Our architecture has been validated with a scenario
We integrate lots of technologie : OSGi, sensors, ontology, java, UPnP
Who will write the rules (customer or provider) ???
This work can be extended to the robotics (sensors, inference,…)