Design of LonWorks-based Home Control Network Management System 2001 년 5 월 26 일 정보가전...

26
E T R I Design of LonWorks-based Home Control Network Management System 2001 년 5 년 26 년 년년년년 Java S/W 년년년 년 년 년

Transcript of Design of LonWorks-based Home Control Network Management System 2001 년 5 월 26 일 정보가전...

Page 1: Design of LonWorks-based Home Control Network Management System 2001 년 5 월 26 일 정보가전 Java S/W 연구팀 손 영 성.

E T R I

Design of LonWorks-based Home Control Network Management

System

2001 년 5 월 26 일정보가전 Java S/W 연구팀

손 영 성

Page 2: Design of LonWorks-based Home Control Network Management System 2001 년 5 월 26 일 정보가전 Java S/W 연구팀 손 영 성.

2 E T R I Proprietary Internet Appliance Technology Dept

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

Page 3: Design of LonWorks-based Home Control Network Management System 2001 년 5 월 26 일 정보가전 Java S/W 연구팀 손 영 성.

3 E T R I Proprietary Internet Appliance Technology Dept

Introduction to Home Network (1/6)

Home Network Technologies

Home Automation

Power Line Communication

LonWorks

CEBUS

Internet to Home

Bluetooth

Wireless LAN

IEEE 1394

Jini Havi

UPnP

OSGi

Home PNA

Page 4: Design of LonWorks-based Home Control Network Management System 2001 년 5 월 26 일 정보가전 Java S/W 연구팀 손 영 성.

4 E T R I Proprietary Internet Appliance Technology Dept

Introduction to Home Network (2/6)

xDSL/

Modem

PLC

IEEE1394

Bluetooth

Window & Curtain

IEEE1394 Camera

DVCR

DTV Digital Audio

Game

Bluetooth Camera

PDA

Web PAD· 댁내통신설비· 제어미들웨어· 전력선통신필터· 오토메이션컨트롤러

· 홈서버 플랫폼 · 실감이미지처리· 기기별확장 RTOS · 10M 홈PNA· 멀티미디어미들웨어 · 내장형 DBMS· 제어미들웨어

· 홈게이트웨이· 10M 홈PNA

HPNA

LAN

· 유무선통합 홈단말·기기별확장 RTOS·멀티미디어미들웨어·20M 블루투스·실감이미지처리

· 제어미들웨어· 댁내통신설비· 오토메이션컨트롤러

· 10M 홈PNABluetooth Camera

FANLight

방범

전력검침

수도검침

난방

Access Network

HomePNA

Home Server

HomeGateway

PDA

Web PAD

IS95C

Page 5: Design of LonWorks-based Home Control Network Management System 2001 년 5 월 26 일 정보가전 Java S/W 연구팀 손 영 성.

5 E T R I Proprietary 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

Page 6: Design of LonWorks-based Home Control Network Management System 2001 년 5 월 26 일 정보가전 Java S/W 연구팀 손 영 성.

6 E T R I Proprietary 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)

Page 7: Design of LonWorks-based Home Control Network Management System 2001 년 5 월 26 일 정보가전 Java S/W 연구팀 손 영 성.

7 E T R I Proprietary 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

Page 8: Design of LonWorks-based Home Control Network Management System 2001 년 5 월 26 일 정보가전 Java S/W 연구팀 손 영 성.

8 E T R I Proprietary Internet Appliance Technology Dept

Introduction to Home Network (6/6)

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)

Comparison of Wireless Technology

Page 9: Design of LonWorks-based Home Control Network Management System 2001 년 5 월 26 일 정보가전 Java S/W 연구팀 손 영 성.

9 E T R I Proprietary Internet Appliance Technology Dept

LonWorks Overview (1/3)

Home Control Network

Internet

PSTN

LonWorks Network (PLC)

IrDA or Bluetooth

SetTop

LonWorks Service Environment

Page 10: Design of LonWorks-based Home Control Network Management System 2001 년 5 월 26 일 정보가전 Java S/W 연구팀 손 영 성.

10 E T R I Proprietary 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

Page 11: Design of LonWorks-based Home Control Network Management System 2001 년 5 월 26 일 정보가전 Java S/W 연구팀 손 영 성.

11 E T R I Proprietary Internet Appliance Technology Dept

LonWorks Overview (3/3)

Transceiver

I/OConditioning

OptionalExternalMemory

PowerRegulator

Commport

Media AccessCPURAM / ROMEEPROM

NetworkCPURAM / ROMEEPROM

I/O (Counters, Resources,Drivers, etc)

RAM / ROMEEPROM

ApplicationCPU

Node SpecificProgram

Neuron Chip

Xtal

Protocol Firmware(Layer 1-2)

Protocol Firmware(Layer 3-6)

Network

Architecture of Neuron Chip

Page 12: Design of LonWorks-based Home Control Network Management System 2001 년 5 월 26 일 정보가전 Java S/W 연구팀 손 영 성.

12 E T R I Proprietary 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

Page 13: Design of LonWorks-based Home Control Network Management System 2001 년 5 월 26 일 정보가전 Java S/W 연구팀 손 영 성.

13 E T R I Proprietary 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

Page 14: Design of LonWorks-based Home Control Network Management System 2001 년 5 월 26 일 정보가전 Java S/W 연구팀 손 영 성.

14 E T R I Proprietary Internet Appliance Technology Dept

Architecture of HCNMS (1/2)

① 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 clientClient

Web browser

Web Server

HCNMS

Servelet

applet

Internet side service scenario of HCNMS

Page 15: Design of LonWorks-based Home Control Network Management System 2001 년 5 월 26 일 정보가전 Java S/W 연구팀 손 영 성.

15 E T R I Proprietary Internet Appliance Technology Dept

Architecture of HCNMS (2/2)

LonTalk NM/ND Messaging Layer (6)

Device Abstraction Layer

Network Management Core

Low LonTalk Layer (1~5)

Monitor/Control

Applications

Layering of HCNMS

Easy Config

toolSelf-organizing configurat

or

iLonMessage GatewayService

Management

Layer

Lonware

Layer

Page 16: Design of LonWorks-based Home Control Network Management System 2001 년 5 월 26 일 정보가전 Java S/W 연구팀 손 영 성.

16 E T R I Proprietary Internet Appliance Technology Dept

Design Specification of HCNMS(LL 1/3)

Lonware stack

Transceiver (LONTALK 1~2)

MIP Firmware& Neuron Chip Firmware

MIP Application

Device Driver

LONI

HOST

DB i/f

Implicit/Explicit Message Passing Module DB

Device Driver access module

Network Protocol(LONTALK 3~6)

NM Processing Module

Network Management Core

Device detection function

address managementDB constructionlocation management

Device propertygatheringfunction

Device property update function

Network diagnosti

c function

LonMessage Passing

Interface

Messaging Layer

LONI

Page 17: Design of LonWorks-based Home Control Network Management System 2001 년 5 월 26 일 정보가전 Java S/W 연구팀 손 영 성.

17 E T R I Proprietary 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, …

Page 18: Design of LonWorks-based Home Control Network Management System 2001 년 5 월 26 일 정보가전 Java S/W 연구팀 손 영 성.

18 E T R I Proprietary 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

Page 19: Design of LonWorks-based Home Control Network Management System 2001 년 5 월 26 일 정보가전 Java S/W 연구팀 손 영 성.

19 E T R I Proprietary 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

Page 20: Design of LonWorks-based Home Control Network Management System 2001 년 5 월 26 일 정보가전 Java S/W 연구팀 손 영 성.

20 E T R I Proprietary 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

Page 21: Design of LonWorks-based Home Control Network Management System 2001 년 5 월 26 일 정보가전 Java S/W 연구팀 손 영 성.

21 E T R I Proprietary Internet Appliance Technology Dept

Service Generator

Design Specification of HCNMS (SM 3/6)

Easy Configurator & DAL

Device Abstraction Layer

Device Pool

Pdev1

Pdev2

Pdevn

Ldev1

Ldev2

Ldevn

logical

physical

Program interpreter

DeviceAbstractor

Graphic User Interface

Service DB

Page 22: Design of LonWorks-based Home Control Network Management System 2001 년 5 월 26 일 정보가전 Java S/W 연구팀 손 영 성.

22 E T R I Proprietary Internet Appliance Technology Dept

Design Specification of HCNMS (SM 4/6)

TV

Air Con.

Fan

Refrigerator

Microware

Temperature

Sensor

Meter

Curtain

Light

object name : Curtaindata: output_status; input_light; input_temperature; input_time;function: working (input);

object name : Microwavedata: output_status; input_struct { time, options };function: working (input);

Example of Device Pool

Page 23: Design of LonWorks-based Home Control Network Management System 2001 년 5 월 26 일 정보가전 Java S/W 연구팀 손 영 성.

23 E T R I Proprietary Internet Appliance Technology Dept

Design Specification of HCNMS (SM 5/6)

Easy Configurator ScenarioI. Initialization of Lon Network

detecting all the devices at home gathering properties of all devices

II. 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

Page 24: Design of LonWorks-based Home Control Network Management System 2001 년 5 월 26 일 정보가전 Java S/W 연구팀 손 영 성.

24 E T R I Proprietary Internet Appliance Technology Dept

interpretation

user configuration

service generation

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

real configuration

Page 25: Design of LonWorks-based Home Control Network Management System 2001 년 5 월 26 일 정보가전 Java S/W 연구팀 손 영 성.

25 E T R I Proprietary 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

Page 26: Design of LonWorks-based Home Control Network Management System 2001 년 5 월 26 일 정보가전 Java S/W 연구팀 손 영 성.

26 E T R I Proprietary 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 ?