knx – zigbee gateway for home automation
DESCRIPTION
KNX – ZigBee Gateway for Home Automation. Tsai , Yu-Ming Adviser : Tsai, Lian-jou Oct. 20 2010. 1. STU ESLab. Outline. Abstract Introduction Research Background KNX–ZigBee Gateway a. Attribute translation b. Application service translation c. Address translation - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/1.jpg)
KNX – ZigBee Gateway for Home Automation
Tsai , Yu-MingAdviser : Tsai, Lian-jou
Oct. 20 2010STU ESLab 1
![Page 2: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/2.jpg)
Outline• Abstract• Introduction• Research Background• KNX–ZigBee Gateway a. Attribute translation b. Application service translation c. Address translation• Result• Conclusion
STU ESLab 2
![Page 3: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/3.jpg)
Abstract• Among the many wireless technologies,
ZigBee is one of the most useful for home automation.
• KNX is a mature protocol for wired media that is recognized as an international standard.
STU ESLab 3
![Page 4: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/4.jpg)
Abstract• ZigBee is not supported with conventional
home networking systems which based on wired media.
• This paper proposes a KNX–ZigBee gateway to interface between KNX and ZigBee systems for wired and wireless home automation systems.
STU ESLab 4
![Page 5: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/5.jpg)
Introduction-KNX• KNX is an international standard communication
protocol for home automation.• KNX is based on standard protocols for the EIB
(European Installation Bus), BatiBus, and the EHS (European Home System).
• KNX supports several communication media, including twisted pair, power line, radio-frequency, and Ethernet.
STU ESLab 5
![Page 6: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/6.jpg)
STU ESLab 6
Introduction-KNX
![Page 7: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/7.jpg)
• In KNX addressing system , every bus is identified by both a physical and a group address.
• The same length of user data carried in a KNX telegram can be utilized in DPT (Datapoint Type) for effective use of the bandwidth of the medium.
STU ESLab 7
Introduction-KNX
![Page 8: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/8.jpg)
• ZigBee is a low-rate, low-power, low-cost wireless networking protocol that is targeted toward automation and remote control applications and is designed to provide connectivity for equipment.
Introduction- ZigBee
STU ESLab 8
![Page 9: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/9.jpg)
• ZigBee defines three categories of devices according to their roles in the network: coordinator, router, and end devices.
• In the current version of the HA profile, there are 31 device definitions for general devices, lighting devices, closure devices, HVAC devices, and intruder alarm system devices
Introduction- ZigBee
STU ESLab 9
![Page 10: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/10.jpg)
Introduction- ZigBee
STU ESLab 10
![Page 11: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/11.jpg)
Research Background• The adoption of ZigBee as a network-layer
protocol and KNX as an application-layer protocol.
• The network layer of ZigBee provides advanced technologies such as routing and security, and the application layer of KNX defines application-level functions and services for HA.
STU ESLab 11
![Page 12: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/12.jpg)
STU ESLab 12
Research Background• The application,
transport, and network layers of KNX are implemented on top of the ZigBee protocol stack, and an interface layer enables interactions between the two protocols.
![Page 13: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/13.jpg)
• KNX over ZigBee wireless nodes are also able to communicate with existing KNX devices. by using ZigBee as a new data-link.
STU ESLab 13
Research Background
![Page 14: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/14.jpg)
• However, This approach is limited in that KNX over ZigBee nodes cannot communicate with pure ZigBee nodes.
• We propose the KNX–ZigBee gateway method to leverage the beneficial characteristics of both networks.
STU ESLab 14
Research Background
![Page 15: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/15.jpg)
• KNX–ZigBee gateway as an interface between the two networks with which to translate entities from one network to the other.
KNX–ZigBee Gateway
STU ESLab 15
![Page 16: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/16.jpg)
KNX–ZigBee Gateway• KNX–ZigBee gateway must handle entities such
as the value of user data, application-level services, and the addresses of devices of both networks, three functions are supported:
1.translation of attributes of user data 2.translation of application level services 3.translation of addresses
STU ESLab 16
![Page 17: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/17.jpg)
Attributes Translation• The DPTs defined by the KNX system enable
the user to encode the usage of the data efficiently.
STU ESLab 17
![Page 18: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/18.jpg)
STU ESLab 18
Attributes Translation
![Page 19: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/19.jpg)
• The HA profile defined by the ZigBee system comprises Device, Cluster, Command, Attribute, and Attribute data.
• An ‘On/Off Switch’ device has five categories of Clusters: On/Off, Scenes, Groups, Identify, and On/Off Switch Configuration, each with its own attributes.
STU ESLab 19
Attributes Translation
![Page 20: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/20.jpg)
Attributes Translation
STU ESLab 20
![Page 21: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/21.jpg)
• The logical access point for device communication is the endpoint in ZigBee and the communication object in KNX. An endpoint is mapped to a Device in a HA profile, and a communication object is mapped to a DPT.
Attributes Translation
STU ESLab 21
![Page 22: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/22.jpg)
• The DPT information is managed by a commissioning tool called ETS. Given both the incoming telegram and the DPT information, the KNX–ZigBee gateway can discern the intended use of the telegram.
Attributes Translation
STU ESLab 22
![Page 23: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/23.jpg)
• The information from the KNX network has to be translated appropriately to the ZigBee
application layer and APS sub-layer data structures.
Attributes Translation
STU ESLab 23
![Page 24: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/24.jpg)
Attributes Translation
STU ESLab 24
![Page 25: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/25.jpg)
• The Profile Identifier, Cluster Identifier, Attribute ID, Data Type, and Attribute data fields will be filled when we translate the example telegram from the KNX network.
Attributes Translation
STU ESLab 25
![Page 26: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/26.jpg)
Application Services Translation
• KNX system has three kinds of representative services that are provided during normal operations. These are A_GroupValue_Read, A_Group Value_Response, and A_GroupValue_Write.
• The information regarding which service is being used is kept on the telegram as APCI (Application Protocol Control Information).
STU ESLab 26
![Page 27: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/27.jpg)
Application Services Translation
STU ESLab 27
![Page 28: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/28.jpg)
Addresses Translation • KNX uses 16-bit physical addresses and 16-bit
group addresses. • ZigBee uses three kinds of addresses: 64-bit IEEE extended addresses 16-bit network addresses 16-bit group addresses
STU ESLab 28
![Page 29: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/29.jpg)
• Destination endpoints are maintained separately in a group table associating groups with endpoints.
• Group-addressed frames can be delivered selectively to those endpoints.
Addresses Translation
STU ESLab 29
![Page 30: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/30.jpg)
• By using group addresses, one message can control several devices, just as in a KNX system.
Addresses Translation
STU ESLab 30
![Page 31: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/31.jpg)
Result
STU ESLab 31
![Page 32: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/32.jpg)
Result
STU ESLab 32
![Page 33: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/33.jpg)
Result • The ZigBee frame format for the APS sub-
layer given is filled out to correspond with the example incoming KNX telegram.
• Translation from a ZigBee frame to a KNX telegram can be performed by the reverse of the given procedure.
STU ESLab 33
![Page 34: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/34.jpg)
• In this paper, we proposed a KNX–ZigBee gateway to interface between KNX and ZigBee systems and enable integration of wireless and wired home automation systems.
• For the broadcast communications mode is used. The ZigBee standard use applying schemes, such as multicast communications, to achieve energy efficiency.
Conclusion
STU ESLab 34
![Page 35: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/35.jpg)
Conclusion • Some attributes and application-level
services cannot be translated. the definitions may not be interchangeable between the systems.
• The structure of the KNX-ZigBee gateway makes it appear complex to implement. Some systematic ideas or schemes that make its structure as simple as possible.
STU ESLab 35
![Page 36: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/36.jpg)
• we plan to implement the KNX–ZigBee gateway and use it to establish a home lighting control system. This model will include direct lighting, indirect lighting, and artificial lighting devices, as well as ZigBee sensor and actuator nodes.
Future Work
STU ESLab 36
![Page 37: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/37.jpg)
References[1] Christian Reinisch, “Wireles communication in home and building automation,” Master’s thesis, Vienna University of Technology February 2007.[2] Christian Reinisch, Wolfgang Kastner, Georg Neugschwandtner, Wolfgang Granzer, “Wireless technologies in home and building automation,” INDIN 2007, Volume 1, PP. 93–98, 23–27 June 2007.[3] ZigBee Alliance home page, http://www.zigbee.org/en/about/
STU ESLab 37
![Page 38: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/38.jpg)
References[4] KNX Specification, “03_07_02 Datapoint Types v1.4 AS v20071214a. doc v1.4,” December 14, 2007.[5] Sinem Coleri Ergen, “ZigBee/IEEE 802.15.4 summary,”U.C. Berkeley, September 10, 2004.[6] ZigBee Specification, “ZigBee home automation public application profile,” v1.0 revision 25, ZigBee document 053520r25, ZigBee Standard Organization, October 25, 2007.
STU ESLab 38
![Page 39: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/39.jpg)
References[7] ZigBee Specification, “ZigBee cluster library specification,” ZigBee document 075123r01ZB, ZigBee Standard Organization, October 19, 2007.[8] ZigBee Specification, “ZigBee specification,” ZigBee document 053474r17, ZigBee Standard Organization,January 17, 2008.[9] KNX Specification, “03_03_07 layer application v1.0 AS,” December 19, 2001.[10] KNX Specification, “07_20 (S12) lighting v1.7 AS,”March 25, 2002
STU ESLab 39
![Page 40: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/40.jpg)
Origin4th IEEE Conference on Automation
Science and EngineeringKey Bridge Marriott, Washington DC, USA
August 23-26, 2008
ppt Author : Tsai, Yu-Ming
STU ESLab 40
![Page 41: KNX – ZigBee Gateway for Home Automation](https://reader035.vdocument.in/reader035/viewer/2022081418/56812d5c550346895d92669f/html5/thumbnails/41.jpg)
Thank You Very Much &
Welcome to advise
STU ESLab