RFXCOM RFXtrx433 Spécifications

Naviguer en ligne ou télécharger Spécifications pour Passerelles/contrôleurs RFXCOM RFXtrx433. RFXCOM RFXtrx433 Specifications Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 95
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
Department of Electrical Engineering and Information Technology
Institute for Media Technology
Distributed Multimodal Information Processing Group
Prof. Dr.-Ing. Eckehard Steinbach
Simulating and Deploying Home Automation
Components in Intelligent Environments
Simulation und Einsatz von Heim Automatiserungskom-
ponenten in Intelligenten Umgebungen
Philip Parsch
Diploma Thesis
Vue de la page 0
1 2 3 4 5 6 ... 94 95

Résumé du contenu

Page 1 - Diploma Thesis

Department of Electrical Engineering and Information TechnologyInstitute for Media TechnologyDistributed Multimodal Information Processing GroupProf.

Page 2

Chapter 2.Related Work/Fundamentals2.1. Intelligent EnvironmentsIntelligent Environments (IE) are highly embedded, interactive spaces that aim to brin

Page 3 - Declaration

Chapter 2. Related Work/Fundamentals 42.2. Home AutomationHome Automation (HA) describes the functionality provided by control systems to operate, sup

Page 4 - Kurzfassung

Chapter 2. Related Work/Fundamentals 5such as multimedia and entertainment features. However, these services play an important role indomestic life, c

Page 5 - Abstract

Chapter 2. Related Work/Fundamentals 6and take a picture of him. However, such disturbances can be prevented by simulatingactivities in the house by s

Page 6 - Contents

Chapter 2. Related Work/Fundamentals 7two actuators. Connections are unidirectional, which means that actuators cannot send signalsbut just receive th

Page 7

Chapter 2. Related Work/Fundamentals 8Security: Wireless systems are generally more insecure than comparable wired solutions. Thewireless media can be

Page 8 - Introduction

Chapter 2. Related Work/Fundamentals 9control of home appliances over the existing power grid. X10-based devices are inexpensive andeasy to install an

Page 9 - 1.2. Outline

Chapter 2. Related Work/Fundamentals 10ing machines, involving more complex controls. Other HA systems usually can only switch thesedevices on or off.

Page 10 - Related Work/Fundamentals

Chapter 2. Related Work/Fundamentals 11ZigBeeZigBee is a specification for a suite of high level communication protocols based on IEEE802.15.4 [14]: A

Page 11 - 2.2. Home Automation

Chapter 2. Related Work/Fundamentals 12HomeEasyHomeEasy (HE) is a simple wireless home automation system produced by the British companyCH Byron5. It

Page 12

Author: Philip ParschAddress:Matriculation Number:Professor: Prof. Dr.-Ing. Eckehard SteinbachAdvisor: Dipl.-Ing. Luis RoalterProf. Dr. Matthias Kranz

Page 13 - 2.2.2. Structure

Chapter 2. Related Work/Fundamentals 13connected until the memory is cleared by a manual reset. If the memory was full, connection willfail.Data is tr

Page 14 - 2.2.3. Transmission media

Chapter 2. Related Work/Fundamentals 14UKEU980 320 980320275275 1320275"1""0"Figure 2.6.: The bit timings of the UK and EU protoco

Page 15 - 2.2.4. Example Systems

Chapter 2. Related Work/Fundamentals 15There are two different types of devices: The classic system, which uses manual address selectionand a newer sys

Page 16

Chapter 2. Related Work/Fundamentals 16systems, above all to Asian products, where this IC is widely used due its low cost. This makesit possible to u

Page 17

Chapter 2. Related Work/Fundamentals 17Input Vss: „00” Input Vcc: „11” Input Float: „01” Sync: „0” Figure 2.11.: All possible bit combinations.

Page 18 - Cluster Tree

Chapter 2. Related Work/Fundamentals 18HomeEasy Intertechno X10 EnOcean ZigBee KNXMedium RF 433 MHz RF 433 MHz PLC, RF 433 MHz RF 868 MHz RF2.4 GHz TP

Page 19

Chapter 2. Related Work/Fundamentals 192.3. Home Automation GatewaysA gateway is a linking device between two or more different network technologies. I

Page 20

Chapter 2. Related Work/Fundamentals 20Figure 2.12.: Three different gateways: RFXtrx433, TellStick and CUL.RFXCOM RFXtrx4338: USB transceiver for 433

Page 21 - 275275 1320275

Chapter 2. Related Work/Fundamentals 21data between its interfaces, for example USB to SPI. Due to the integrated WLAN module,it can be accessed and c

Page 22

Chapter 2. Related Work/Fundamentals 222.4. MiddlewareMiddleware describes software that facilitates data exchange between applications within the sam

Page 23 - Data „1”

Department of Electrical Engineering and Information TechnologyInstitute for Media TechnologyDistributed Multimodal Information Processing GroupProf.

Page 24

Chapter 2. Related Work/Fundamentals 23mBS Smart Home11is a platform-independent, Java-based framework, based on the OSGimiddleware. It is optimized f

Page 25

Chapter 2. Related Work/Fundamentals 24The philosophical goals of ROS can be outlined as13:• Peer-to-peer topology avoids a central communication serv

Page 26 - 2.3. Home Automation Gateways

Chapter 2. Related Work/Fundamentals 25Services are for communication between two nodes, whereas topics are for many-to-many com-munication. Nodes can

Page 27

Chapter 2. Related Work/Fundamentals 26There exist further useful tools and functions:Logging and Playback: ROS supports two different mechanisms for l

Page 28 - 2.3.2. Comparison

Chapter 3.ConceptThis chapter covers basic concepts and ideas about the integration of Home Automation (HA)components in Intelligent Environments (IE)

Page 29 - 2.4. Middleware

Chapter 3. Concept 28These modules can only be used as a whole; no direct intervention is possible allowing communi-cation only before or after the mo

Page 30

Chapter 3. Concept 293.2. HardwareMany different HA systems are available on the market, but in this work only two of them areconsidered: HomeEasy (HE)

Page 31

Chapter 3. Concept 30The device manager node connects HA protocols with a set of data, which contains the mostimportant information about the device.

Page 32 - Node A Node B

Chapter 3. Concept 31gateway_driverwlanusbdatabasedevicemanagerprotocol datadevicelistvisualization &namespacen/devicelistHardware Protocol Device

Page 33

Chapter 3. Concept 32gateway_driverdevice_managerprotocoltype: ITIT 000AA8data: 000AA8name: "table_light"id: 12description: "light on m

Page 34 - Chapter 3

KurzfassungIn der Kurzfassung der Arbeit werden auf maximal einer Seite die Hintergründe, Motivation,Aufgabenstellung und Lösungsansätze und die die E

Page 35

Chapter 3. Concept 33The assignment in different structures makes certain assumptions: On the one hand, transmittersdo not have a state, which correspo

Page 36 - 3.3. Software

Chapter 3. Concept 34low range and the range of the gateway is limited as well. The use of various gateways enables thecontrol of larger systems and t

Page 37

Chapter 3. Concept 35feature was not implemented. Nevertheless, it can easily be set up as another node on top of thesoftware stack.

Page 38

Chapter 4.ImplementationThis chapter deals with the implementation of the concepts as presented in the chapter 3.4.1. GatewayThere are many different s

Page 39

Chapter 4. Implementation 37XMEGAexpansion portFT232RN171RFM22BUSART433MHzWLANUSBSPI 3 USART 22 I/O-PinsPower+5VDCRTCusb-serial bridgeSPIUSARTFigure 4

Page 40 - 3.5. Requirement Analysis

Chapter 4. Implementation 38ISRhimedlow433Mhz reception, time controlUSART, SPI receptionhelping functions, RTCdata transmission, corenormalpriorityfa

Page 41

Chapter 4. Implementation 39Figure 4.4.: The WifiCtrl on the left and the MiniCtrl without its antenna on the right. Bothmodels were generated by eagle

Page 42 - Chapter 3. Concept 35

Chapter 4. Implementation 404.1.3. USB-serial-bridge ReplacementThe USB-serial-bridge FT232RL was initially selected because it can easily be integrat

Page 43 - Implementation

Chapter 4. Implementation 41Another drawback of using the internal USB hardware, is the high memory use of almost 2 kBRAM and 10 kB ROM. The big ATXMe

Page 44 - WLAN stateoperational LED

Chapter 4. Implementation 42RFM22B is a low-cost transceiver with a large functional range. Basically, it consists of the ICSI4432 from SiLabs with a

Page 45 - 4.1.2. Motivation

AbstractIn the abstract, on a maximum of one page, the background, motivation, problem defition andpursued solution strategy are summarized.The abstrac

Page 46

Chapter 4. Implementation 43result, not all data can be obtained and a compromise must be made, whether weak or strongsignals are preferred. In this w

Page 47

Chapter 4. Implementation 44Figure 4.9.: Different data streams recorded with the scanalogic 2 logic analyser. The blue traceis the reference data rece

Page 48

Chapter 4. Implementation 45time between now and the last call are measured to get the duration of each level. These timesare then compared with a tab

Page 49

Chapter 4. Implementation 46Optimizations: The overall performance increased because of small changes in the structure andreprogramming of time consum

Page 50

Chapter 4. Implementation 474.2. Software BasicsThe next sections cover the implementation of the three ROS Nodes: gateway driver, devicemanager and v

Page 51

Chapter 4. Implementation 48Currently, only the gateways MiniCtrl and WifiCtrl are supported, but more gateways can beadded because the software provid

Page 52 - 4.1.6. Minor changes

Chapter 4. Implementation 49come from the interface converter service or the "send usb" and "send wlan"-command.Raw output: Emits

Page 53 - 4.1.7. Conclusion

Chapter 4. Implementation 50the RFM22B, the output streams are sometimes fragmented during CPU intensive tasks, such asthe reception of HA protocols.

Page 54 - 4.3. Gateway driver

Chapter 4. Implementation 51device manageraddremovechangeprotocol outputserviceprotocol inputreceiver/senderget set device_listswitchreceiver/sendersa

Page 55

Chapter 4. Implementation 52by the "switch sender/receiver"-services and topics. However, if the state was changed bydirect manipulation via

Page 56

ContentsContents vi1. Introduction 11.1. Motivation, Goals and possible Challenges . . . . . . . . . . . . . . . . . . . . . 11.2. Outline . . . . . .

Page 57 - 4.4. Device manager

Chapter 4. Implementation 53other thread is ready to exchange data. As a result, they are only suitable for large data transfers,such as the device li

Page 58

Chapter 4. Implementation 54device ID to optimize the seek time. When accessing the database with those keys, the device IDis first fetched from the co

Page 59

Chapter 4. Implementation 55HE 1 IT 1HE 1HE 2IT 1HE 1HE 2IT 1IT 2IT 3receiver sender receiver sender senderreceivernetwork 1 network 2 network 3Figure

Page 60 - 4.4.1. Device manager class

Chapter 4. Implementation 56MainWindow: The MainWindow is the graphical framework in which the two previously men-tioned classes are embedded. It cont

Page 61

Chapter 4. Implementation 57Switch receiver/sender: These services provide similar functionality as the "switch re-ceiver/sender"-services f

Page 62 - 4.5. Visualization

Chapter 4. Implementation 58device managerrosnodemainrosvisualizationthread 1 thread 2scene menuvisualizationmenuMainWindow XMLdatabaseFigure 4.18.:

Page 63

Chapter 4. Implementation 59Figure 4.19.: The MainWindow displaying the start menu.manager node, the import function can either replace or merge the i

Page 64

Chapter 4. Implementation 60Figure 4.20.: The receiver dialog on the left and the transmitter dialog on the right.4.5.2. Visualization MenuThe visuali

Page 65 - 4.5.1. The MainWindow class

Chapter 4. Implementation 61Figure 4.21.: The visualization menu showing the database in receiver view.reason, the visualization node contains a local

Page 66

Chapter 4. Implementation 62key1: value1key2: value2keyN: valueNuserQGraphicsViewQGraphicsScenereceiver itemsender itemQMultiHash <name, receiver i

Page 67 - 4.5.2. Visualization Menu

CONTENTS vii4.1.4. Ceramic antenna for WLAN . . . . . . . . . . . . . . . . . . . . . . . . 414.1.5. Reprogramming of the RFM22B radio module . . . .

Page 68

Chapter 4. Implementation 63Figure 4.23.: The scene menu with the example scene "dormitory", which contains three receivers:a light, a power

Page 69 - 4.5.3. Scene Menu

Chapter 4. Implementation 64The internal structure of the scene menu is similar to the structure of the visualization menu,except that no QHash contai

Page 70

Chapter 5.EvaluationThis chapter deals with the evaluation of different parts of the system. Two test scenarios aredescribed, one office and one home env

Page 71 - Scene list

Chapter 5. Evaluation 66The following sections describe the benchmark results for each node in more detail. Each publisher,subscriber and service was

Page 72 - 5.1. Benchmarking

Chapter 5. Evaluation 67gateway driverdevicemanagerdevice_changedvisualization &namespacesimulationnodeprotocol_out device_changed_nsswitch_device

Page 73

Chapter 5. Evaluation 68Office HomeDeskPCDoorDoorWindow1 Window2PIRLightswitchRemoteContactswitchContactswitchLamp1Lamp2DeskPCRemoteBedContactswitchLi

Page 74 - 5.2. Home and office scenario

Chapter 5. Evaluation 69IMAGE MISSINGTEXT MISSINGoffice homeday 1 day 2 day 1 day 2transmitter on off on off on off on offwindow contact 2 3 2 2 5 4 3 3door

Page 75 - Office Home

Chapter 6.ConclusionThe goals of this work have been achieved: The presented soft- and hardware chain providesa unified framework between Intelligent E

Page 76

Appendix A.Message, Topic and Service FilesA.1. Gateway DriverTopic NameCodeprotocol_output topicprotocol_input topicuint8 OTHER=0uint8 HE_EU=1uint8 H

Page 77 - Conclusion

Appendix A. Message, Topic and Service Files 72A.2. Device ManagerName Codereceiver_struct messageint32 i dstring namestring d e s c r i p t i o nint3

Page 78 - Appendix A

Chapter 1.IntroductionNew technologies provide increased comfort and quality in all areas of our lives. With homeand building automation, simple thing

Page 79 - A.2. Device Manager

Appendix A. Message, Topic and Service Files 73Name Codechange_receiver serviceint32 i d #if i d ==0, u se name i n s t e a dstring namereceiver_struc

Page 80

Appendix A. Message, Topic and Service Files 74Name Codeset_devicelist servicebool mergebool d i s c a r d _ c o n f l i c t i n g _ d a t asender_str

Page 81 - Name Code

Appendix A. Message, Topic and Service Files 75A.3. VisualizationName Codedevice_changed topicbool n e w_ st a te #true : on−code was s e n tstring s

Page 82 - A.3. Visualization

Appendix B.Databases1 <? xml version ="1.0" encoding =" UTF -8"?>2 <!DOCTYPE d e v i c e s>3 <e le m en t s>4 &l

Page 83 - Databases

Appendix B. Databases 771 <? xml version ="1.0" encoding =" UTF -8"?>2 <!DOCTYPE s c e n e>3 < s c e n e l i s t>

Page 84 - Appendix B. Databases 77

WifiCtrl Reference CardCommunicationWifiCtrl can be controlled by simple ascii based commands via USB,WLAN, SPI and USART. Default communication port is

Page 85 - WifiCtrl Reference Card

Command listset commandsset flush size X X = size (5..80)set flush time X X = time in µs (1k..10k)set separator X X = separator (ascii char)set format

Page 86 - MiniCtrl V1.0

List of Figures2.1. Possible applications at home. (Adopted from: http://www.lingg-janke.de/uploads/pics/eib-system-viele-funktionen.jpg . . . . . . .

Page 87 - List of Figures

LIST OF FIGURES 813.3. The software part of the communication chain, which contains three ROS Nodes.ROS serves as a link between the nodes connecting

Page 88

LIST OF FIGURES 824.9. Different data streams recorded with the scanalogic 2 logic analyser. The bluetrace is the reference data received with a RF Lin

Page 89

Chapter 1. Introduction 2Reuse: Already existing HA devices can be combined and reused. This reduces the installationtime as well as overall costs.Thi

Page 90 - LIST OF FIGURES 83

LIST OF FIGURES 835.2. The latency of the complete system. Each time was measured 100 times and hasbeen averaged. . . . . . . . . . . . . . . . . . .

Page 91 - List of Tables

List of Tables2.1. The presented automation systems at a glance. . . . . . . . . . . . . . . . . . . 182.2. The differences between the presented gatew

Page 92 - List of Acronyms

List of AcronymsIE Intelligent EnvironmentHA Home AutomationIT InterTechnoHE HomeEasyHVAC Heating, Ventilation and Air ConditioningPLC Power Line Comm

Page 93 - Bibliography

Bibliography[1] M. Kranz, T. Linner, B. Ellmann, A. Bittner, and L. Roalter, “Robotic Service Cores for Am-bient Assisted Living,” in 4th Internationa

Page 94

BIBLIOGRAPHY 87[12] KNX Association, KNX System Specifications, v3.0 ed., Jul. 2009.[13] A. Anders, “Energy for free - wireless technology without batt

Page 95

BIBLIOGRAPHY 88Proceedings of the 5th ACM/IFIP/USENIX international conference on Middleware, pp. 397–416, Springer-Verlag New York, Inc., 2004.[25] M

Commentaires sur ces manuels

Pas de commentaire