Home Control Network

Download Report

Transcript Home Control Network

Design of LonWorks-based
Home Control Network Management System
2001년 5월 26일
정보가전 Java S/W 연구팀
손영성
ETRI
Contents
 Introduction to home network
 LonWorks Overview
 Requirements for HCNMS
 Scope of HCNMS
 Architecture of HCNMS
 Design Specification of HCNMS
 Lonware Layer
 Service Management Layer
 Summary
 Considerations
E T R I Proprietary
2
Internet Appliance Technology Dept
Introduction to Home Network (1/6)
 Home Network Technologies
Internet to Home
Home Automation
Power Line Communication
Wireless LAN
CEBUS
UPnP
Jini
OSGi
Bluetooth
LonWorks
Havi
IEEE 1394
Home PNA
E T R I Proprietary
3
Internet Appliance Technology Dept
Introduction to Home Network (2/6)
E T R I Proprietary
4
Internet Appliance Technology Dept
Introduction to Home Network (3/6)
 Application
 A/V Network
VCR, TV, Audio, DVD, Digital Camera, …
 need high bandwidth
 IEEE1394, Havi

 Home Office Network
PC, Printer, Scanner, …
 IP-based tech.
 Jini, UPnP,…

 Home Control Network

Sensor, Appliances
 control network
 LonWorks, CEBus
E T R I Proprietary
5
Internet Appliance Technology Dept
Introduction to Home Network (4/6)
 Middleware(LonWorks & CEBus)
 similar scalability, costs, and installation overhead
 but, LonWorks is better than CEBus in the following areas
CEBus
LonWorks
Developer
Electronics Industry Alliance
Echelon
Facility to
Development
-
Node Builder, Lon Builder
Reliability of
Communication
layer 2
layer2, layer4
Standard
EIA 600 (1992)
EIA 709.1 - A (1999)
E T R I Proprietary
6
Internet Appliance Technology Dept
Introduction to Home Network (5/6)
 Home Networking Technologies
 Wired Network Tech.

IEEE1394
 Home PNA
 Power Line Communication
 Wireless Network

Wireless LAN (IEEE 802.11)
 Home RF (IEEE 802.15)
 Bluetooth (IEEE 802.15)
 IrDA
E T R I Proprietary
7
Internet Appliance Technology Dept
Introduction to Home Network (6/6)
 Comparison of Wireless Technology
Bluetooth
Home RF
TGb WLAN
Physical Layer
FFHSS, 1.6K Hops/sec
FHSS, 50 Hops/sec
DSSS/FHSS/IR
Channel Access
Master-Slave, TDMA
TDMA & CSMA/CA
CSMA/CA
Raw Data Rate
1 Mbps
1, 2 Mbps
2, 11 Mbps
Range
< 10m
< 50m
< 50m
Power Consumption
10m Watt
100m Watt
100m Watt
Communication Type
1:N
N:N
1:N
Security
Minimal in PHY
Blowfish encryption
64 bit Key & RC4
Communication
Topology
Ad Hoc
Peer-to-Peer,
MS to BS
Peer-to-Peer,
MS to BS
Price Point
$20/1999, $6/2001
$30/1999, $18/2000
$99/1999, $25/2001
Recent Spec.
v1.0 (’99.7)
SWAP v1.1(’99.6)
TGb(’99.6)
E T R I Proprietary
8
Internet Appliance Technology Dept
LonWorks Overview (1/3)
LonWorks Service Environment
Home Control Network
PSTN
IrDA or Bluetooth
SetTop
Internet
LonWorks Network (PLC)
E T R I Proprietary
9
Internet Appliance Technology Dept
LonWorks Overview (2/3)
 Elements of LonWorks
 H/W

Transceiver : RF, TP, Power line, ..
 Neuron chip processor (figure)
 LonTalk protocol embedded in the neuron chip
 S/W

Configuration & management tool (LNS-based software)
 Neuron C application for device
 MIP(microprocessor interface program) & Host application
 Standard for LonWorks (LonMark Association)

Interoperability Guideline
 SNVT, SCPT, UNVT, UCPT
E T R I Proprietary
10
Internet Appliance Technology Dept
LonWorks Overview (3/3)
 Architecture of Neuron Chip
Network
Protocol Firmware
(Layer 1-2)
Protocol Firmware
(Layer 3-6)
Media Access
CPU
Network
CPU
RAM / ROM
EEPROM
RAM / ROM
EEPROM
Transceiver
Comm
port
Optional
External
Memory
I/O (Counters,
Resources,
Drivers, etc)
I/O
Conditioning
RAM / ROM
EEPROM
Application
CPU
Xtal
Power
Regulator
E T R I Proprietary
Neuron Chip
11
Node Specific
Program
Internet Appliance Technology Dept
Requirements for HCNMS
 HCNMS
 stands for Home Control Network Management System
 High level requirements
 easy monitor, control, and configuration
 support LonMark Guideline
 iLon Functioning
 secure HCNMS
 Lower level requirements
 well-defined functional APIs as a device service platform
 observing LonMark Interoperability Guideline
 abstraction and representation of application devices
 supporting zero-configuration
 compatible with LonTalk network management protocol
 OSGi compatible packages
E T R I Proprietary
12
Internet Appliance Technology Dept
Scope of HCNMS
 Environment of R&D
 Linux, x86 processor?, C & Java
 Basic Technologies
 LonWorks : LonTalks, Neuron Chip
 Target Application Devices
 Sensor Network

Temperature, Infrared sensor, Curtain, Lights, Various-meters…
 Appliances ??

Refrigerator, Air Conditioner, Washing Machine, Microwave, Fan,…
 Target Services
 iLon functions
 easy configuration service for end users
E T R I Proprietary
13
Internet Appliance Technology Dept
Architecture of HCNMS (1/2)
 Internet side service scenario of HCNMS
HCNMS


Web Server
Servelet


Web browser
applet



Client
E T R I Proprietary
① connect web server (at home server)
② show home page and do authentication
③ choose a device which client want to
control or monitor
④ send an applet appropriate to the device
⑤ fork an servelet which communicates
with the sent applet
⑥ run the downloaded applet which provide
appropriate control or monitor interface
⑦ control or monitor using the user
interface at applet
⑧ transfer the user request to HCNMS
⑨ return the result to client
14
Internet Appliance Technology Dept
Architecture of HCNMS (2/2)
 Layering of HCNMS
Easy
Config tool
Service
Management
Layer
Monitor/Control
Applications
Selforganizing
configurator
iLon
Message
Gateway
Device
Abstraction
Layer
Network Management Core
Lonware
Layer
LonTalk NM/ND Messaging Layer (6)
Low LonTalk Layer (1~5)
E T R I Proprietary
15
Internet Appliance Technology Dept
Design Specification of HCNMS(LL 1/3)
 Lonware stack
Network Management Core
Lon
Message
Passing
Interface
Messaging
Layer
Device
property
update
function
Device
property
gathering
function
Device
detection
function
Network
diagnostic
function
Implicit/Explicit
Message Passing Module
NM Processing Module
address management
DB construction
location management
DB
i/f
DB
Device Driver access module
LONI
Device Driver
HOST
MIP Application
LONI
MIP Firmware& Neuron Chip Firmware
Network Protocol
(LONTALK 3~6)
Transceiver (LONTALK 1~2)
E T R I Proprietary
16
Internet Appliance Technology Dept
Design Specification of HCNMS (LL 2/3)
 LONI (LOn Network Interface)
 H/W

PCI interface to Host Main Board (or on-board ?)
 embedding neuron chip 3150
 S/W

Microprocessor Interface Program(MIP) functioning module
 Device Driver
 Messaging layer
 simple send/receive API

creation of MIP buffer packet
 processing incoming message

update DB and upcall realtime event processing routine if needed
 Data Base

store all the physical network information: devices, configurations, …
E T R I Proprietary
17
Internet Appliance Technology Dept
Design Specification of HCNMS (LL 3/3)
 Network Management Core
 4 communication functions

detecting devices
 gathering properties of devices
 update properties
 diagnostics
 Lon message passing interface
 network management functions

assigning address
 managing device location
 constructing data base
E T R I Proprietary
18
Internet Appliance Technology Dept
Design Specification of HCNMS (SM 1/6)
 Monitor/Control Applications
 Applet-based Service
 refer to Slide 10
 Configurator
 Self-organized Configurator

config information in Xif-like text file
 default configuration at home
 direct access to Network Management Core Module
 iLon Message Gateway

support LNS 3.0 based Configuration Tool
 show Home Server as an iLon Device
 direct access to Network Management Core Module
E T R I Proprietary
19
Internet Appliance Technology Dept
Design Specification of HCNMS (SM 2/6)
 Easy Configurator

Graphic User Interface
 drag&drop based configuration environment
 Service DB
 possible service information
 matched configuration programs
 Service Generator
 generating possible services with abstracted devices by DAL
 Device Abstraction Layer (DAL)

Device Pool
 Data base of Standard Control Devices
 Device Abstractor
 Abstract & Representation of Control Devices
 Program interpreter
 interpret the command list programmed by easy configuration tool
to a sequence of network management messages
E T R I Proprietary
20
Internet Appliance Technology Dept
Design Specification of HCNMS (SM 3/6)
 Easy Configurator & DAL
Graphic User Interface
Service
DB
Device
Pool
Service Generator
Ldev
1
Ldev
2
Ldev
n
logical
Device
Abstractor
E T R I Proprietary
Pdev
1
physic
al
Pdev
Pde
v2
n
21
Program
interpreter
Device
Abstraction Layer
Internet Appliance Technology Dept
Design Specification of HCNMS (SM 4/6)
 Example of Device Pool
object name : Curtain
data:
output_status;
input_light;
input_temperature;
input_time;
function:
working (input);
Curtain
Light
Meter
Temperature
Sensor
Refrigerator
object name :
Microwave
data:
output_status;
input_struct
{ time, options };
function:
working (input);
Microware
Fan
TV
Air Con.
E T R I Proprietary
22
Internet Appliance Technology Dept
Design Specification of HCNMS (SM 5/6)

Easy Configurator Scenario
I.
Initialization of Lon Network


II.
detecting all the devices at home
gathering properties of all devices
Device Abstraction

DA (Device Abstractor) abstracts detected physical devices into
logical devices in the device pool
III. Service Generation


SG (Service Generator) generates all the possible service with the
combination of the abstracted devices
then, SG puts the generated services into the Service DB
IV. User configuration programming


user programs through the GUI (drag&drop)
select services from the possible service list
E T R I Proprietary
23
Internet Appliance Technology Dept
Design Specification of HCNMS (SM 6/6)
V.
Program Interpretation

Program interpreter translates
service into a sequence of Lon
Messages
VI. Configuration

use APIs of NM core module
init
device abstraction
service generation
user configuration
interpretation
real configuration
E T R I Proprietary
24
Internet Appliance Technology Dept
Summary
 it’s brief design of functional specification of HCNMS.
 we should develop followings..
 LONI with new MIP
 LON Network Management Core Module
 Well-defined LON Network API
 iLon support application
 DAL (Device Abstraction Layer)
 Easy Configurator
E T R I Proprietary
25
Internet Appliance Technology Dept
Considerations
 Further Studies
 Device Abstraction Guideline
 Bluetooth-based control network
 What middleware will be the winner at home?
 Can those integrated into one Service Platform?
 Where the IP will be deployed into at home?
 IP over IEEE1394
 IP over Bluetooth (ongoing by IETF BOF)
 IP over PLC ?
E T R I Proprietary
26
Internet Appliance Technology Dept