Home Automation and Power Conservation Using Zigbee®

Total Page:16

File Type:pdf, Size:1020Kb

Home Automation and Power Conservation Using Zigbee® HOME AUTOMATION AND POWER CONSERVATION USING ZIGBEE® by Michael G. DiBenedetto A Thesis Submitted to the Faculty of The College of Engineering and Computer Science in Partial Fulfillment of the Requirements for the Degree of Master of Science Florida Atlantic University Boca Raton, Florida December 2009 ABSTRACT Author: Michael G. DiBenedetto Title: Home Automation and Power Conservation using ZigBee® Institution: Florida Atlantic University Thesis Advisor: Dr. Hanqi Zhuang Degree: Master of Science Year: 2009 The ZigBee standard is a wireless networking standard created and maintained by the ZigBee Alliance. The standard aims to provide an inexpensive, reliable, and efficient solution for wirelessly networked sensing and control products. The ZigBee Alliance is composed of over 300 member companies making use of the standard in different ways, ranging from energy management and efficiency, to RF remote controls, to health care products. Home automation is one market that greatly benefits from the use of ZigBee. With a focus on conserving home electricity use, a sample design is created to test a home automation network using Freescale's ZigBee platform. Multiple electrical designs are tested utilizing sensors ranging from proximity sensors to current sense transformers. Software is fashioned as well, creating a PC application that interacts with two ZigBee transceiver boards performing different home automation functions such as air conditioner and automatic lighting control. iii HOME AUTOMATION AND POWER CONSERVATION USING ZIGBEE® Tables ................................................................................................................................ vii Figures.............................................................................................................................. viii Introduction ......................................................................................................................... 1 ZigBee ................................................................................................................................. 4 The ZigBee Alliance ..................................................................................................... 4 The ZigBee Standard .................................................................................................... 5 Network Topologies................................................................................................ 5 Node Types ............................................................................................................. 7 Coordinator ....................................................................................................... 7 Router ................................................................................................................ 7 End-Device ....................................................................................................... 8 Gateway ............................................................................................................ 8 Addressing .............................................................................................................. 9 Software Architecture ............................................................................................. 9 Application Level............................................................................................ 10 ZigBee Stack Level ......................................................................................... 11 Physical/Data Link Level ................................................................................ 13 Transmission Characteristics ................................................................................ 14 iv Frequency Bands ............................................................................................. 15 Phase-Shift Keying ......................................................................................... 16 Transmission Power ........................................................................................ 17 Range .............................................................................................................. 18 Latency ............................................................................................................ 20 Comparison with Other Standards ........................................................................ 21 Companies Making use of ZigBee .............................................................................. 25 Freescale Semiconductor, Inc. .............................................................................. 25 ZigBee Uses ................................................................................................................ 29 ZigBee RF4CE ...................................................................................................... 31 ZigBee Smart Energy ............................................................................................ 32 ZigBee Health Care............................................................................................... 34 Home Automation ............................................................................................................. 36 Standards and Systems ................................................................................................ 37 Tasks ........................................................................................................................... 38 Power Conservation .......................................................................................................... 42 Statistics ...................................................................................................................... 42 Methods to Conserve Electrical Power ....................................................................... 46 Sample Design Experiment............................................................................................... 49 Planned Design ........................................................................................................... 49 Hardware Design and Testing ..................................................................................... 53 v Range .................................................................................................................... 54 Proximity Sensing ................................................................................................. 55 Current Sensing and Load Control ....................................................................... 57 Ambient Lighting and Temperature ...................................................................... 59 Air Conditioner Control ........................................................................................ 60 Software Design .......................................................................................................... 62 Remote Microcontroller ........................................................................................ 63 PC Connected Microcontroller ............................................................................. 64 PC Application ...................................................................................................... 66 Final Thoughts .................................................................................................................. 70 Appendix A ....................................................................................................................... 72 Appendix B ....................................................................................................................... 78 Appendix C ....................................................................................................................... 86 References ......................................................................................................................... 98 vi TABLES Table 1. ZigBee vs. Other Wireless Standards .................................................................22 Table 2. 2006 Residential Energy Use ...............................................................................43 vii FIGURES Figure 1. Network Topologies .............................................................................................6 Figure 2. ZigBee Software Architecture ............................................................................10 Figure 3. IEEE 802.15.4 Frequency Bands........................................................................15 Figure 4. Freescale MC13193 Architecture .......................................................................26 Figure 5. Freescale 1321X-SRB ........................................................................................50 Figure 6. Sample Design Setup ..........................................................................................51 Figure 7. Packet Error Rate Testing at ~75 feet .................................................................54 Figure 8. Proximity Sensor Diagram .................................................................................56 Figure 9. Current Sensing and Load Control Diagram ......................................................57 Figure 10. Current Measurement Calibration ....................................................................58 Figure 11. Ambient Lighting and Temperature Diagram ..................................................60 Figure 12. Air Conditioner Control Diagram ....................................................................61
Recommended publications
  • Option Request Form. for Professionals Only
    Option request form. For professionals only A price offer will be sent upon receipt of this form. Open to all the software options (40% reduction). VISION Pack Enables a full home automation experience, gives access to all the Lifedomus 6713604 ALL OPTIONS technology. or options to choose from: Controls an ecosystem of ZWAVE wireless products ZWAVE (POLYLOCK and DANALOCK locks included). 6713004 Protocol Requires a USB/ZWAVE dongle (not supplied). Controls an ecosystem of ENOCEAN wireless products. ENOCEAN Requires a USB/ENOCEAN dongle (not supplied). 6713001 Protocol Controls an ecosystem of OPENWEBNET wireless products. OPENWEBNET Requires being connected to the IP/OPENWEBNET system 6713003 Protocol Controls an ecosystem of MODBUS/IP wired products. MODBUS Requires logging into a DB70, Energy box (service market) or a TCP/IP ModBus 6713002 Protocol gateway Controls several brands* of HiFi audio multi-room solutions, each room can be MULTIROOM AUDIO controlled independently or in groups: SONOS, HEOS by DENON, MUSICCAST 6713414 Pack by YAMAHA Controls several brands* of TV, amp, air-conditioners… Requires IP/IR INFRARED CONTROL gateway. The products must have an IR control: IRTrans, Global Caché, 6713202 Pack Bitwise. Controls several brands* of audio and/or video amplifiers, requires an IP AUDIO/VIDEO AMPLIFIER connection on this equipment: ONKYO (Integra IP range), MARRANTZ (AV/ SR/NR IP range), NUFORCE (RS232 AVP-18 IP range), YAMAHA (RX-A IP range), 6713413 Pack CAMBRIDGE (RS232 CXR120/200 model) Controls several brands* of video
    [Show full text]
  • Oliinykkv Magistr.Pdf
    НАЦІОНАЛЬНИЙ ТЕХНІЧНИЙ УНІВЕРСИТЕТ УКРАЇНИ «КИЇВСЬКИЙ ПОЛІТЕХНІЧНИЙ ІНСТИТУТ імені ІГОРЯ СІКОРСЬКОГО» Інститут телекомунікаційних систем Кафедра Інформаційно-телекомунікаційних мереж «На правах рукопису» «До захисту допущено» УДК ______________ Завідувач кафедри __________ Лариса ГЛОБА «___»_____________2020 р. Магістерська дисертація на здобуття ступеня магістра за освітньо-професійною програмою «Інформаційно-комунікаційні технології» зі спеціальності 172 «Телекомунікації та радіотехніка» на тему: «Удосконалений спосіб побудови систем управління розумним будинком» Виконав: студент VI курсу, групи ТІ-91мп Олійник Костянтин Володимирович __________ Керівник: Доцент кафедри ІТМ ІТС, доцент, к.т.н. Кононова Ірина Віталіївна __________ Рецензент: Доцент кафедри ТК ІТС, доцент, к.т.н. Явіся Валерій Сергійович __________ Засвідчую, що у цій магістерській дисертації немає запозичень з праць інших авторів без відповідних посилань. Студент _____________ Київ – 2020 року 2 Національний технічний університет України «Київський політехнічний інститут імені Ігоря Сікорського» Інститут телекомунікаційних систем Кафедра Інформаційно-телекомунікаційних мереж Рівень вищої освіти – другий (магістерський) Спеціальність – 172 «Телекомунікації та радіотехніка» Освітньо-професійна програма «Інформаційно-комунікаційні технології» ЗАТВЕРДЖУЮ Завідувач кафедри __________ Лариса ГЛОБА «___»_____________2020 р. ЗАВДАННЯ на магістерську дисертацію студенту Олійнику Костянтину Володимировичу 1. Тема дисертації «Удосконалений спосіб побудови систем управління розумним
    [Show full text]
  • Lifedomus Guide of Peripherals
    Lifedomus Guide of peripherals Access | Security Lifedomus video doorkeeper connected lock alarm The universal connected solution gate garage door Manage the security and safety of assets and people, access control Automate heating for greater comfort and energy savings, View and manage energy consumption to forecast costs and cut bills, Lighting Communication using voice, SMS messages, emails or mobile applications, ambience scenarios colour management Manage all control systems for the home: shutters, gate, lighting, etc. Control audio and video peripheral multimedia devices, as well as connected objects Multimedia Multi-room Hi-Fi TV screen - Video projector Home Cinema Heating Air Conditioning energy management Motors motor-driven bay windows roller shutters blinds l blackout blinds Garden swimming pool sprinkler Others The Lifedomus application is free and requires no subscription. weather station indoor air quality 2 Built-in functions Unlimited logical scenario Unlimited user profiles More advanced and more powerful for optimal operation of a home Unlimited multi-user rights can be created. Each user can have automation system, controllers allow the sequencing of actions that can different rights for every item of equipment and every action, locally be based on environmental information or on your own settings. or remotely. - Unlimited advanced features using logical controllers such as ‘if’, ‘as Management is secured with a unique password. long as’, ‘wait’, ‘otherwise’, ‘then’, ‘and’, etc. provide Lifedomus with a veritable artificial intelligence to support you in your daily life. E.g. your sprinklers only turn on when the measured rainfall is low or null. iOS geofence Calculations can be performed on variables. Using geolocation, the user can trigger one or more scenarios based Interaction with the display of Lifedomus Design Studio applications.
    [Show full text]
  • Myopen Communitycommunity
    MyOpenMyOpen CommunityCommunity Esperienza della creazione di una Community Divulgazione del protocollo OpenWebNet Un’ opportunità per la domotica Verona, 23 Ottobre 2008 Lorenzo Pini - Responsabile MyOpen Community SAVE 2008 - Veronafiere 21-23 ottobre 2008 Il Protocollo Open Web Net SAVE 2008 - Veronafiere 21-23 ottobre 2008 L’origine del protocollo OpenWebNet OPEN = Open Protocol for Electronic Networks Il Protocollo OpenWebNet nasce nel 2000 con l’intento di astrarre il BUS SCS ed essere indipendente dal mezzo di trasmissione. Il primo dispositivo ad usare il protocollo è il comunicatore telefonico che permette di pilotare luci e automazioni della casa da toni DTMF. Viene dunque scelto di utilizzare i caratteri *, #, digit (0-9) . Con l’OpenWebNet è possibile controllare il sistema domotico MyHome e potenzialmente qualsiasi altro sistema, da un qualsiasi dispositivo collegato via Ethernet, via seriale RS232, via USB attraverso un gateway direttamente collegato all’impianto. MyOpen Community e Protocollo OpenWebNet – Un'opportunità per la domotica Verona, 23 Ottobre 2008 SAVE 2008 - Veronafiere 21-23 ottobre 2008 Perché usare l’ OpenWebNet L’ OpenWebNet è un protocollo “Open”perché… z …èaperto a nuove espansioni z …èindipendente dalle tecnologie e aperto a più mezzi di trasmissione z …èpubblico e utilizzabile da chiunque Inoltre fornisce un livello di astrazione che consente la supervisione e il controllo dei sistemi MyHome e non solo, concentrandosi sulla funzione, senza preoccuparsi dei dettagli installativi. MyOpen Community e Protocollo
    [Show full text]
  • Definizione Dell'architettura Del Framework Di Interoperabilità Domotica Con Analisi Di Vincoli Ed Interazioni Con Le LAN
    Definizione dell'architettura del framework di interoperabilità domotica con analisi di vincoli ed interazioni con le LAN Vittorio Miori (CNR) – Dario Russo (CNR)– Luca Ferrucci (CNR) 1 Breve sommario In questo documento viene effettuata l’analisi delle interazioni tra il framework SHELL e le altre LAN, viste come le altre possibili installazioni domotiche di natura più o meno proprietaria (ad esempio, KNX, MyHome, Zwave, ZigBEE, ecc.). Dopo un breve escursus sulle caratteristiche di funzionamento dei framework di interoperabilità già esistenti in letteratura, ne vengono analizzate le problematiche generali in termini di limiti e vincoli possibili alla interoperabilità tra il framework SHELL e le LAN e tra le LAN connesse al framework stesso. Parole chiave Interoperabilità, LAN, MyHome, KNX, gateway 2 Indice Breve sommario ....................................................................................................................................... 2 Parole chiave ............................................................................................................................................. 2 Indice ........................................................................................................................................................ 3 Indice delle Figure .................................................................................................................................... 4 Stato dell’arte ..........................................................................................................................................
    [Show full text]
  • User Guide ABB Dogate
    1473-1-8485│ 26.03.2014 User Guide ABB doGATE geb ic h User Guide ABB doGATE Introduction 1 Introduction .............................................................................................................................................................. 4 2 Used Symbols .......................................................................................................................................................... 4 3 Main Characteristics ................................................................................................................................................ 5 3.1 Presentation ............................................................................................................................................ 5 3.2 Embedded Automation ............................................................................................................................ 5 3.3 BACnet Monitoring .................................................................................................................................. 5 3.4 OPC Monitoring ...................................................................................................................................... 5 3.5 oBIX Monitoring ...................................................................................................................................... 5 4 Getting started ......................................................................................................................................................... 6
    [Show full text]
  • 20EEE653 Advanced Industrial Automation and Building Automation Credits: 3:0:0
    20EEE653 Advanced Industrial Automation and Building Automation Credits: 3:0:0 Date: 20.04.2021 Lecture 7 Concept of Building Management System (BMS) – application - Automation requirements Module 2 : Introduction to Building management system and energy management systems Course Instructor Dr. Vinoth Kumar. K M.Tech., Ph.D., SMIEEE Associate Professor Department of Electrical & Electronics Engineering Introduction 2 Intelligent Building Building Pyramid Intelligent 3 Concept of Building Management System Building automation system (BAS) is an umbrella term (and is also known as building management system, BMS). It is used to refer to a wide range of computerized building control systems, from special- purpose controllers, to standalone remote stations, to larger systems including central computer stations and printers. BAS is one of the major intelligent building systems. A BAS comprises several subsystems which are connected in various ways to form a complete system. The system has to be designed and engineered around the building itself to serve the services systems for which it is intended. Consequently, although the component parts used may be identical, no two systems are the same, unless they are applied to identical buildings with identical services and identical uses. Building services include HVAC systems, electrical systems, lighting systems, fire systems and security systems and lift systems. In industrial buildings they may also include the compressed air, steam and hot water systems used for the manufacturing process. A BAS may be used to monitor, control and manage all or just some of these services. There are good reasons and ultimate objectives in investing considerable sums of money in this way.
    [Show full text]
  • IP Working Group IP Working Group
    IP Working Group IP Working group Mission: – Define a model for resources and devices in E@H system that is abstract and independent from a specific communication technology. – Identify the communication interfaces of the E@H system and define a suitable IP based solution for these interfaces, considering already defined IP standards in the IoT domain; Expected Results: – Abstract model of E@H System – Specifications of an IP protocol for E@H system, possibly as an extension of a standard one 2 IP WG Scope 1/3: E@H over IP Define a suitable IP based solution for the communication interfaces of the HAN in the current E@H system. Energy Box Home Network Gateway‐Energy Management system E@H EMS E@H E@H E@H E@H E@H 3 IP WG Scope 2/3: Interaction with other system • Identify an IP‐based technology for communication among subsystems. • Extension of the devices is in the mission of the E@h Association. IP device GW2 GW1 Subsystem 2 Subsystem 1 GW3 Subsystem 3 4 IP WG Scope 3/3: E@H in the Cloud Expose the devices in the E@H System to the Cloud (WAN) Home EMS Network E@H Cloud Cloud‐based Energy E@H Management E@H system EMS E@H E@H E@H 5 Standards under evaluation Standard group Application Protocols Communication Protocols Smart Energy Profile 2.0 REST, HTTP, COAP Wifi, Zigbee IP, HomePlug ECHONET ‐ Energy IrDA Bluetooth, WiFi, PLC, IPv6, LonTalk conservation and Homecare Echonet network ZigBee Alliance ZigBee PRO ZigBee AGORA' TBD TBD UPnP HEMS/ DLNA UPnP, SOAP WiFi/Eth EEBUS XML, KNX, UPnP, ZigBee KNX, ZigBee, WiFi/Eth HOMELAB (OpenWebNet) TCP/IP, UPnP, HTTP WiFi/Eth 6 IP Protocol Roadmap E@H in the Cloud Interaction with other E@H over system IP Modelling of the system 7 Activity Planning Dec Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Standard Model Scouting E@H Model Definition Standard Protocol Scouting – Preliminary Selection Standard Protocol Scouting ‐ Finalization Mapping E@H Model to the selected Standard IP Protocol E@H over IP Prototype Start 8 Thanks for your attention.
    [Show full text]
  • Remote Home Automation
    Remote Home Automation A PROJECT REPORT submitted by Anindya Maiti (08BCE042) in partial fulfillment for the award of B. Tech degree in Computer Science and Engineering School of Computing Science and Engineering May - 2012 School of Computing Science and Engineering DECLARATION I hereby declare that the project entitled “Remote Home Automation” submitted by me to the School of Computing Science and Engineering, VIT University, Vellore-14 in partial fulfillment of the requirements for the award of the degree of Bachelor of Technology in Computer Science and Engineering is a record of bonafide work carried out by me under the supervision of Prof. S. Sivanesan. I further declare that the work reported in this project has not been submitted and will not be submitted, either in part or in full, for the award of any other degree or diploma of this institute or of any other institute or university. Anindya Maiti (08BCE042) ii School of Computing Science and Engineering CERTIFICATE The project report entitled “Remote Home Automation” is prepared and submitted by Anindya Maiti (Register No: 08BCE042). It has been found satisfactory in terms of scope, quality and presentation as partial fulfillment of the requirements for the award of the degree of Bachelor of Technology in Computer Science and Engineering in VIT University, India. ____________________________________________ Prof. S. Sivanesan School of Computing Science and Engineering Examined by: Internal Examiner External Examiner iii iv ACKNOWLEDGEMENT I would like to express my earnest gratitude to my project guide Prof. S. Sivanesan, School of Computing Science and Engineering, for giving me the opportunity to undertake the project under his supervision.
    [Show full text]
  • Uniform Access to Domotic Environments Through Semantics
    Uniform Access to Domotic Environments through Semantics Dario Bonino, Emiliano Castellina, and Fulvio Corno Politecnico di Torino, Torino, Italy {dario.bonino, emiliano.castellina, fulvio.corno}@polito.it Abstract. This paper proposes a Domotic OSGi Gateway (DOG) able to expose different domotic networks as a single, technology neutral, home automation system. The adoption of a standard framework such as OSGi, and of sophisticated modeling techniques stemming from the Semantic Web research community, allows DOG to go beyond simple automation and to support reasoning-based intelligence inside home en- vironments. By exploiting the DogOnt ontology for automatic device generalization, syntactic and semantic command validation, and inter- network scenario definition, DOG provides the building blocks for evolv- ing current, isolated, home automation plants into so-called Intelligent Domotic Environments, where heterogeneous devices and domotic sys- tems are coordinated to behave as a single, intelligent, proactive system. The paper introduces the DOG architecture by looking at functionali- ties provided by each of its components and by describing features that exploit ontology-modeling. 1 Introduction Domotic systems, also known as home automation systems, have been available on the market for several years, however only in the last few years they started to spread also over residential buildings, thanks to the increasing availability of low cost devices and driven by new emerging needs on house comfort, energy saving, security, communication and multimedia services. Current domotic solutions suffer from two main drawbacks: they are pro- duced and distributed by various electric component manufacturers, each having different functional goals and marketing policies; and they are mainly designed as an evolution of traditional electric components (such as switches and relays), thus being unable to natively provide intelligence beyond simple automation scenarios.
    [Show full text]
  • A Domótica Na Otimização Da Habitação NZEB
    escola superior gallaecia Mestrado Integrado em Arquitetura e Urbanismo A domótica na otimização da habitação NZEB Estéfano Gomes Matos Lima Orientadores: Prof.a Doutora Ana Lima e Prof. Especialista Luís Paulo Pacheco Vila Nova de Cerveira, março de 2021 Imagem de capa: Autoria própria Preâmbulo Esta dissertação de mestrado que se apresenta, integra-se na Unidade Curricular A50 – Projeto – Dissertação de Mestrado Integrado em Arquitetura e Urbanismo, realizado na Escola Superior Gallaecia de Vila Nova de Cerveira. O presente trabalho é da autoria do candidato Estéfano Gomes Matos Lima, nº 653-10, realizando-se durante o primeiro semestre do ano letivo 2020/2021, tendo como orientadores a Professora Doutora Ana Lima e o Professor Especialista Luís Paulo Pacheco. Nesta era de especialização, homens que conhecem completamente um campo são muitas vezes incompetentes em discutir outro. Os grandes problemas das relações entre um e outro aspeto da atividade humana foram, por esse motivo, discutidos cada vez menos em público. - (Feynman R. P., 1956) Agradecimentos Em especial aos meus avós, Joaquim e Adelaide, que sempre acreditaram em mim, mesmo quando eu duvidei de mim mesmo. À minha mãe Idalina Gomes, por sempre me ter apoiado e ajudado ao longo deste percurso. Ao Sr. David Gomes pela ajuda que me deu desde o início, sem o qual não poderia ter chegado aqui. Também à minha companheira e namorada Rafaela Esteves, por ter lutado e incentivado, pela força e motivação, nunca lhe faltando uma palavra de apoio. Ao corpo docente e funcionários da ESG, pelo carinho, apoio e conhecimentos transmitidos ao longo de todos estes anos.
    [Show full text]
  • Home and Building Automation Systems
    Home and Building Automation System – an Overview Ambient intelligence: technology and design Fulvio Corno, Dario Bonino Politecnico di Torino, 2013/2014 Outline • Wired systems – MyOpen – KNX – ModBus • Wireless systems – ZigBee – EnOcean 2013/2014 Ambient intelligence: technology and design 2 MyOpen BTICINO PROTOCOL FOR MYHOME SYSTEM MyOpen / OpenWebNet • MyOpen system – Initially proposed by Bticino (Legrand group) – Proprietary bus (SCS) – Proprietary low-level protocol – Simple configuration • Jumpers (can be carried by electricians) • Software – Accessible via OpenWebNet gateways 2013/2014 Ambient intelligence: technology and design 4 OpenWebNet • Allows external applications to communicate, monitor and control MyHome devices • Open Specification • Open protocol designed to work on minimal network requirements – E.g., phone connections 2013/2014 Ambient intelligence: technology and design 5 OpenWebNet • DTMF compatible – E.g., *1*1*12## Light 12, On • Defines 2 types of communication sessions – Command session • To send commands • To ask for device states • To require measure values – Event session • To monitor all the bus events, asynchronously 2013/2014 Ambient intelligence: technology and design 6 OpenWebNet - Messages • Tag structure – *tag1*tag2*tag3*...*tagN## • Tag – Allowed characters • {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, #} – Delimitator • * – Message end • ## • Content and structure changes for – Commands / State requests – Requests of measure values 2013/2014 Ambient intelligence: technology and design 7 OpenWebNet – Commands/States • 3-tag structure WHO Functionality Description – *WHO*WHAT*WHERE## 0 Scenarios • WHO 1 Lighting – The command/request functionality 2 Actuators (among a set of pre-defined values) 3 Load control • WHAT 4 Temperature control – The action to perform 5 Anti-burglar systems – Possible actions are specified for each 6 Intercom WHO value • WHERE 7 Multimedia – Identifies the message destination 13 Gateway management • Single device, device groups, scenarios, 15 CEN commands zones, etc.
    [Show full text]